polish based on test

This commit is contained in:
Keith Donald
2007-08-01 22:56:00 +00:00
parent eb10271ee5
commit 1255cec8a4

View File

@@ -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
}