public interface FirebirdLocalTransaction
extends javax.resource.spi.LocalTransaction
LocalTransaction
interface
to tell whether the underlying managed connection is currently participating
in some transaction or not and to obtain the associated Xid.Modifier and Type | Method and Description |
---|---|
javax.transaction.xa.Xid |
getXid()
Get the associated Xid.
|
boolean |
inTransaction()
Check if managed connection is currently participating in transaction.
|
boolean inTransaction() throws javax.resource.ResourceException
true
if managed connection is participating in
transaction.javax.resource.ResourceException
- if operation cannot be completed.javax.transaction.xa.Xid getXid()
Xid
representing a transaction ID that is
managed by this local transaction.Copyright © 2001-2019 Jaybird (Firebird JDBC/JCA) team. All rights reserved.