[XADISK-147] Add method to get transaction status in Session. Created: 08/Oct/13 Updated: 08/Oct/13
|Reporter:||Nitin Verma||Assignee:||Nitin Verma|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Thanks to George for suggesting this at: https://groups.google.com/forum/#!topic/xadisk/6Lbe3CVZSBE
It could be useful for some applications to query the Session object (usually, from some other thread other than the one handling the Session object) about its transaction's status (open, committed or rolledback).
|Comment by Nitin Verma [ 08/Oct/13 ]|
Parallel to the Session interface, there are two other interfaces, XADiskConnection (JCA environments) and XASession (standalone JTA environments); all the three interfaces implement XADiskBasicIOOperations. But the last two interfaces do not hold the responsibility for transaction management as does the Session interface (which is for standalone non-JTA environments) through its commit/rollback methods. In these two cases, the same is achieved by the JTA standard interfaces. So, the new method only need be added to the Session interface.