mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Ignore SQL state 3B001 in HSQLDB exception message as well
Closes gh-35618 See gh-35564
This commit is contained in:
+1
-1
@@ -190,7 +190,7 @@ public abstract class JdbcTransactionObjectSupport implements SavepointManager,
|
||||
}
|
||||
// ignore Microsoft SQLServerException: This operation is not supported.
|
||||
String msg = ex.getMessage();
|
||||
if (msg == null || !msg.contains("not supported")) {
|
||||
if (msg == null || (!msg.contains("not supported") && !msg.contains("3B001"))) {
|
||||
throw new TransactionSystemException("Could not explicitly release JDBC savepoint", ex);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user