WebSphereUowTransactionManager suspends synchronizations even without existing transaction (SPR-6167)
git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2302 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
parent
0f1f01b719
commit
df0b4d3854
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue