[
http://issues.apache.org/jira/browse/GERONIMO-594?page=all ]
David Jencks closed GERONIMO-594:
---------------------------------
Resolution: Invalid
AFAIK this is correct behavior. tx.commit() is definitely supposed to leave the tx associated with the thread, and IIUC tm.begin() should fail even though the previous tx is complete.
> Begin on TransactionManager always fails when thread is associated with a Tx
> ----------------------------------------------------------------------------
>
> Key: GERONIMO-594
> URL:
http://issues.apache.org/jira/browse/GERONIMO-594> Project: Geronimo
> Type: Bug
> Components: transaction manager
> Versions: 1.0-M3
> Reporter: Dain Sundstrom
> Assignee: David Jencks
>
> The TransactionManager.begin() always throws an exception it thread is already associated with a transaction. This means the following code will fail:
> txManager.getTransaction().commit();
> txManager.begin();
> Also, I'm not sure if transaction.commit() should remove any thread association with the transaction.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira