Skip to content

Commit 1df688a

Browse files
committed
Added Informix equivalent of DuplicateKeyException code
Signed-off-by: Lukáš Kvídera <[email protected]>
1 parent 942fbf3 commit 1df688a

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
@@ -95,7 +95,8 @@ public class SQLStateSQLExceptionTranslator extends AbstractFallbackSQLException
9595
301, // SAP HANA
9696
1062, // MySQL/MariaDB
9797
2601, // MS SQL Server
98-
2627 // MS SQL Server
98+
2627, // MS SQL Server
99+
-268 // Informix
99100
);
100101

101102

0 commit comments

Comments
 (0)