Skip to content

Commit 40a9ae9

Browse files
committed
Recognize error code 2628 as data integrity violation (MSSQL 2019)
Closes gh-30681 (cherry picked from commit c634acd)
1 parent e34a7ba commit 40a9ae9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@
172172
<value>2601,2627</value>
173173
</property>
174174
<property name="dataIntegrityViolationCodes">
175-
<value>544,8114,8115</value>
175+
<value>544,2628,8114,8115</value>
176176
</property>
177177
<property name="dataAccessResourceFailureCodes">
178178
<value>4060</value>

0 commit comments

Comments
 (0)