Skip to content

Commit a7add32

Browse files
committed
Added Informix equivalent of DuplicateKeyException code
1 parent 8f64480 commit a7add32

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-jdbc/src/main/java/org/springframework/jdbc/support/SQLStateSQLExceptionTranslator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ public class SQLStateSQLExceptionTranslator extends AbstractFallbackSQLException
9494
301, // SAP HANA
9595
1062, // MySQL/MariaDB
9696
2601, // MS SQL Server
97-
2627 // MS SQL Server
97+
2627, // MS SQL Server
98+
-268 // Informix
9899
);
99100

100101

0 commit comments

Comments
 (0)