Ignore SQL state 3B001 in HSQLDB exception message as well

Closes gh-35618
See gh-35564
This commit is contained in:
Juergen Hoeller
2025-10-13 15:10:20 +02:00
parent 9f678ce698
commit 6c5de48059
@@ -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);
}
}