mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 20:59:07 +00:00
WebSphereUowTransactionManager suspends synchronizations even without existing transaction (SPR-6167)
This commit is contained in:
+1
-1
@@ -268,7 +268,7 @@ public class WebSphereUowTransactionManager extends JtaTransactionManager
|
||||
if (debug) {
|
||||
logger.debug("Creating new transaction with name [" + definition.getName() + "]: " + definition);
|
||||
}
|
||||
SuspendedResourcesHolder suspendedResources = (existingTx && !joinTx ? suspend(null) : null);
|
||||
SuspendedResourcesHolder suspendedResources = (!joinTx ? suspend(null) : null);
|
||||
try {
|
||||
if (definition.getTimeout() > TransactionDefinition.TIMEOUT_DEFAULT) {
|
||||
this.uowManager.setUOWTimeout(uowType, definition.getTimeout());
|
||||
|
||||
Reference in New Issue
Block a user