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
This makes duplicate key condition undetected, DataIntegrityViolationException is thrown instead of DuplicateKeyException.
In order to fix this error code 23505 needs to be added to duplicateKeyCodes property of H2 bean in org/springframework/jdbc/support/sql-error-codes.xml.
Oleg Alexeyev opened SPR-8235 and commented
Since H2 1.3.154 SQL error codes has changed in order to utilize commonly used ones. See the thread: http://groups.google.com/group/h2-database/browse_thread/thread/e4f6e77e3eebc1d4 and the change log: http://www.h2database.com/html/changelog.html.
This makes duplicate key condition undetected, DataIntegrityViolationException is thrown instead of DuplicateKeyException.
In order to fix this error code 23505 needs to be added to duplicateKeyCodes property of H2 bean in org/springframework/jdbc/support/sql-error-codes.xml.
Affects: 3.0.5
Issue Links:
The text was updated successfully, but these errors were encountered: