From 90f8e5dcf85051604cb46ad148ebf502a360bcbe Mon Sep 17 00:00:00 2001 From: Juergen Hoeller Date: Mon, 9 Nov 2009 19:59:27 +0000 Subject: [PATCH] WebSphereUowTransactionManager suspends synchronizations even without existing transaction (SPR-6167) --- .../transaction/jta/WebSphereUowTransactionManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.springframework.transaction/src/main/java/org/springframework/transaction/jta/WebSphereUowTransactionManager.java b/org.springframework.transaction/src/main/java/org/springframework/transaction/jta/WebSphereUowTransactionManager.java index b8507fcee0..c72fb47427 100644 --- a/org.springframework.transaction/src/main/java/org/springframework/transaction/jta/WebSphereUowTransactionManager.java +++ b/org.springframework.transaction/src/main/java/org/springframework/transaction/jta/WebSphereUowTransactionManager.java @@ -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());