Skip to content

Commit a1b91e9

Browse files
committed
mention exception changes in the migration guide
1 parent 55a9e4e commit a1b91e9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

migration-guide.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,14 @@ All such cases though are already controllable by the application.
225225

226226
The effect can also often be mitigated using Hibernate's bytecode-based laziness (possibly combined with `@ConcreteProxy`).
227227

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`.
235+
228236

229237
[[misc-api]]
230238
=== Miscellaneous

0 commit comments

Comments
 (0)