We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7f017c commit 0c1df5fCopy full SHA for 0c1df5f
hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
@@ -532,7 +532,8 @@ public SQLExceptionConversionDelegate buildSQLExceptionConversionDelegate() {
532
@Override
533
public JDBCException convert(SQLException sqlException, String message, String sql) {
534
switch ( sqlException.getErrorCode() ) {
535
- case 1205: {
+ case 1205:
536
+ case 3572: {
537
return new PessimisticLockException( message, sqlException, sql );
538
}
539
case 1207:
0 commit comments