diff --git a/spring-webflow/src/main/java/org/springframework/webflow/support/persistence/JpaFlowExecutionListener.java b/spring-webflow/src/main/java/org/springframework/webflow/support/persistence/JpaFlowExecutionListener.java index b537f4fd..4c2f488a 100644 --- a/spring-webflow/src/main/java/org/springframework/webflow/support/persistence/JpaFlowExecutionListener.java +++ b/spring-webflow/src/main/java/org/springframework/webflow/support/persistence/JpaFlowExecutionListener.java @@ -114,7 +114,6 @@ public class JpaFlowExecutionListener extends FlowExecutionListenerAdapter { // this is a commit end state - start a new transaction that quickly commits transactionTemplate.execute(new TransactionCallbackWithoutResult() { protected void doInTransactionWithoutResult(TransactionStatus status) { - em.joinTransaction(); // nothing to do - a flush will happen on commit automatically as this is a read-write // transaction }