From c634acd9ff8531f0e6f36dc46df1567e6ef00ac6 Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Sat, 17 Jun 2023 11:38:41 +0200 Subject: [PATCH] Recognize error code 2628 as data integrity violation (MSSQL 2019) Closes gh-30681 --- .../org/springframework/jdbc/support/sql-error-codes.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml b/spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml index d2e587967c1..2bb0e58b654 100644 --- a/spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml +++ b/spring-jdbc/src/main/resources/org/springframework/jdbc/support/sql-error-codes.xml @@ -172,7 +172,7 @@ 2601,2627 - 544,8114,8115 + 544,2628,8114,8115 4060