You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Microsoft SQL Server 2019 (RTM-CU25) (KB5033688) - 15.0.4355.3 (X64)
Jan 30 2024 17:02:22
Copyright (C) 2019 Microsoft Corporation
Developer Edition (64-bit) on Linux (Red Hat Enterprise Linux)
Client Operating System
Linux
JAVA/JVM version
Java 21 LTS
Problem description
After upgrading to Spring boot 3.4 I have noticed that a non-standard exception type is thrown when an unsupported operation is attempted (in this case explicitly releasing a savepoint), which causes our application to fail as most third party libraries will expect a SQLFeatureNotSupportedException in this case rather than a SQL Server specific error.
Driver version
12.8.1.jre11
SQL Server version
Microsoft SQL Server 2019 (RTM-CU25) (KB5033688) - 15.0.4355.3 (X64)
Jan 30 2024 17:02:22
Copyright (C) 2019 Microsoft Corporation
Developer Edition (64-bit) on Linux (Red Hat Enterprise Linux)
Client Operating System
Linux
JAVA/JVM version
Java 21 LTS
Problem description
After upgrading to Spring boot 3.4 I have noticed that a non-standard exception type is thrown when an unsupported operation is attempted (in this case explicitly releasing a savepoint), which causes our application to fail as most third party libraries will expect a
SQLFeatureNotSupportedException
in this case rather than a SQL Server specific error.See the issue raised with Spring for reference
Expected behavior
java.sql.SQLFeatureNotSupportedException
is thrown when there is an attempt to manually release a transaction savepointActual behavior
com.microsoft.sqlserver.jdbc.SQLServerException
is thrownError message/stack trace
The text was updated successfully, but these errors were encountered: