Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.2
-
Fix Version/s: 1.3
-
Labels:None
-
Number of attachments :
Description
Invoking commit() or rollback() on the jta Transaction object (i.e. BitronixTransaction)
does not invoke BitronixTransactionManager.clearCurrentContext(), unlike invoking
commit() or rollback() on the TM. This means that TM.getTransaction() returns non-null
even after a commit or rollback.
This is according to the JTA spec: only the TransactionManager object has knowledge of thread context association.