This content has been marked as final.
Show 1 reply
-
1. Re: JBoss TS JTA - unsetting current transaction association
marklittle Jan 7, 2007 9:45 AM (in response to timfox)It is bad/broken design. Only going through TransactionManager/UserTransaction do you get thread-to-transaction association/disassociation. (Same as using Current in OTS). If you terminate the transaction directly through Transaction (equivalent to using the Terminator in OTS) then you the thread-to-transaction association is not modified. You'll need to either use TM/UT or do an explicit suspend afterwards on the calling thread.