Skip to content

Commit 672cd7f

Browse files
committed
HHH-19001
Map ConstraintType to UNIQUE on ConstraintViolationException
1 parent 8f03994 commit 672cd7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hibernate-core/src/main/java/org/hibernate/exception/internal/SQLStateConversionDelegate.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public SQLStateConversionDelegate(ConversionContext conversionContext) {
9595
"22": // "data exception"
9696
return new DataException( message, sqlException, sql );
9797
case
98-
"28": // "authentication failure"
98+
"28": // "authentication failure"
9999
return new AuthException( message, sqlException, sql );
100100
}
101101
}

0 commit comments

Comments
 (0)