org.firebirdsql.jca
Interface FirebirdLocalTransaction
- LocalTransaction
- FBLocalTransaction
public interface FirebirdLocalTransaction
extends LocalTransaction
Extention of the javax.resource.spi.LocalTransaction
interface
to tell whether the underlying managed connection is currently participating
in some transaction or not and to obtain the associated Xid.
Xid | getXid() - Get the associated Xid.
|
boolean | inTransaction() - Check if managed connection is currently participating in transaction.
|
getXid
public Xid getXid()
Get the associated Xid.
- instance of
Xid
representing a transaction ID that is
managed by this local transaction.
inTransaction
public boolean inTransaction()
throws ResourceException
Check if managed connection is currently participating in transaction.
true
if managed connection is participating in
transaction.
Copyright B) 2001 David Jencks and other authors. All rights reserved.