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 6c473f1 commit 2841be4Copy full SHA for 2841be4
hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
@@ -1091,8 +1091,8 @@ public SQLExceptionConversionDelegate buildSQLExceptionConversionDelegate() {
1091
return switch (sqlState) {
1092
// Serialization Exception
1093
case "40001" -> message.contains("WriteTooOldError")
1094
- ? new TransactionSerializationException( message, sqlException, sql );
1095
- : null;
+ ? new TransactionSerializationException( message, sqlException, sql )
+ : null;
1096
// DEADLOCK DETECTED
1097
case "40P01" -> new LockAcquisitionException( message, sqlException, sql );
1098
// LOCK NOT AVAILABLE
0 commit comments