[XADISK-147] Add method to get transaction status in Session. Created: 08/Oct/13  Updated: 08/Oct/13

Status: Open
Project: xadisk
Component/s: filesystem
Affects Version/s: 1.2.2
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Nitin Verma Assignee: Nitin Verma
Resolution: Unresolved Votes: 1
Labels: None
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.

Generated at Sat Nov 28 20:01:01 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.