You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: migration-guide.adoc
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -225,6 +225,14 @@ All such cases though are already controllable by the application.
225
225
226
226
The effect can also often be mitigated using Hibernate's bytecode-based laziness (possibly combined with `@ConcreteProxy`).
227
227
228
+
[[jdbc-exceptions]]
229
+
=== JDBC exception interpretation
230
+
231
+
Hibernate now does a better and more consistent job of interpreting database-specific error codes in ``JDBCException``s and translating to subtypes of `PersistenceException`.
232
+
In particular, interpretation of integrity constraint violations was improved significantly.
233
+
234
+
Also, `LockAcquisitionException` now extends `PessimisticLockException`.
0 commit comments