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:
Juergen Hoeller 2009-11-09 19:59:27 +00:00
parent 0f1f01b719
commit df0b4d3854
1 changed files with 1 additions and 1 deletions

View File

@ -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());