Skip to content

Commit 02b381d

Browse files
committed
add extra item of info to comment
1 parent f12f31f commit 02b381d

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
@@ -80,7 +80,7 @@ public SQLStateConversionDelegate(ConversionContext conversionContext) {
8080
return new JDBCConnectionException( message, sqlException, sql );
8181
case
8282
"21", // "cardinality violation"
83-
"22": // "data exception" (22001 is string too long)
83+
"22": // "data exception" (22001 is string too long; 22003 is numeric value out of range)
8484
return new DataException( message, sqlException, sql );
8585
case
8686
"28": // "authentication failure"

0 commit comments

Comments
 (0)