Package org.firebirdsql.jca
Interface FirebirdLocalTransaction
- 
- All Superinterfaces:
- javax.resource.spi.LocalTransaction
 - All Known Implementing Classes:
- FBLocalTransaction
 
 public interface FirebirdLocalTransaction extends javax.resource.spi.LocalTransactionExtention of theLocalTransactioninterface to tell whether the underlying managed connection is currently participating in some transaction or not and to obtain the associated Xid.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.transaction.xa.XidgetXid()Get the associated Xid.booleaninTransaction()Check if managed connection is currently participating in transaction.
 
- 
- 
- 
Method Detail- 
inTransactionboolean inTransaction() throws javax.resource.ResourceExceptionCheck if managed connection is currently participating in transaction.- Returns:
- trueif managed connection is participating in transaction.
- Throws:
- javax.resource.ResourceException- if operation cannot be completed.
 
 - 
getXidjavax.transaction.xa.Xid getXid() Get the associated Xid.- Returns:
- instance of Xidrepresenting a transaction ID that is managed by this local transaction.
 
 
- 
 
-