[https://hibernate.atlassian.net/browse/HHH-15393|https://hibernate.atlassian.net/browse/HHH-15393|smart-link] applied the use of SQL AST to the write operations Hibernate performs in response to persistence context events.
In the case of updates against an optional secondary table, the preferred solution would be to use a SQL MERGE (UPSERT) command. |
|