Interface FirebirdLocalTransaction

All Superinterfaces:
javax.resource.spi.LocalTransaction
All Known Implementing Classes:
FBLocalTransaction

public interface FirebirdLocalTransaction extends javax.resource.spi.LocalTransaction
Extention of the LocalTransaction interface to tell whether the underlying managed connection is currently participating in some transaction or not and to obtain the associated Xid.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the associated Xid.
    boolean
    Check if managed connection is currently participating in transaction.

    Methods inherited from interface javax.resource.spi.LocalTransaction

    begin, commit, rollback
  • Method Details

    • inTransaction

      boolean inTransaction() throws javax.resource.ResourceException
      Check if managed connection is currently participating in transaction.
      Returns:
      true if managed connection is participating in transaction.
      Throws:
      javax.resource.ResourceException - if operation cannot be completed.
    • getXid

      Xid getXid()
      Get the associated Xid.
      Returns:
      instance of Xid representing a transaction ID that is managed by this local transaction.