mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-05 22:49:02 +00:00
Only release rolled-back database savepoints during managed nested transaction
Issue: SPR-12228
This commit is contained in:
-6
@@ -127,12 +127,6 @@ public abstract class JdbcTransactionObjectSupport implements SavepointManager,
|
||||
catch (Throwable ex) {
|
||||
throw new TransactionSystemException("Could not roll back to JDBC savepoint", ex);
|
||||
}
|
||||
try {
|
||||
conHolder.getConnection().releaseSavepoint((Savepoint) savepoint);
|
||||
}
|
||||
catch (Throwable ex) {
|
||||
logger.debug("Could not explicitly release JDBC savepoint after rollback", ex);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user