xadisk
  1. xadisk
  2. XADISK-147

Add method to get transaction status in Session.

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: 1.2.2
    • Fix Version/s: None
    • Component/s: filesystem
    • Labels:
      None

      Description

      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).

        Activity

        Nitin Verma created issue -
        Hide
        Nitin Verma added a comment -

        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.

        Show
        Nitin Verma added a comment - 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.

          People

          • Assignee:
            Nitin Verma
            Reporter:
            Nitin Verma
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: