|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jdbc.xa.OracleXid
public class OracleXid
The OracleXid class:
Field Summary | |
---|---|
static int |
MAXBQUALSIZE |
static int |
MAXGTRIDSIZE |
static boolean |
TRACE |
Constructor Summary | |
---|---|
OracleXid(int fId, byte[] gId, byte[] bId) OracleXid() -- The constructor that constructs an OracleXid with given formatId, global transacrion Id and branch qualifier. |
|
OracleXid(int fId, byte[] gId, byte[] bId, byte[] context) OracleXid() -- The constructor that constructs an OracleXid with given formatId, global transacrion Id and branch qualifier, and transaction context. |
Method Summary | |
---|---|
byte[] |
getBranchQualifier() getBranchQualifier() -- Obtain the txn branch qualifier of the XID |
protected oracle.jdbc.internal.OracleConnection |
getConnectionDuringExceptionHandling() Compares the given transaction identifiers with this. |
int |
getFormatId() getFormatId() -- Obtain the format identifier part of the Xid. |
byte[] |
getGlobalTransactionId() getGlobalTransactionId() -- Obtain the global txn id of the XID |
static boolean |
isLocalTransaction(Xid xid) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAXGTRIDSIZE
public static final int MAXBQUALSIZE
public static final boolean TRACE
Constructor Detail |
---|
public OracleXid(int fId, byte[] gId, byte[] bId) throws XAException
fId
- format IDgId
- global transaction ID (no copy performed)bId
- branch Qualifier (no copy performed)XAException
- if the size of gId or bId is more than 64 bytespublic OracleXid(int fId, byte[] gId, byte[] bId, byte[] context) throws XAException
fId
- format IDgId
- global transaction ID (no copy performed)bId
- branch Qualifier (no copy performed)context
- transation context (no copy performed)XAException
- if the size of gId or bId is more than 64 bytesMethod Detail |
---|
public int getFormatId()
getFormatId
in interface Xid
public byte[] getGlobalTransactionId()
getGlobalTransactionId
in interface Xid
public byte[] getBranchQualifier()
getBranchQualifier
in interface Xid
public static final boolean isLocalTransaction(Xid xid)
protected oracle.jdbc.internal.OracleConnection getConnectionDuringExceptionHandling()
|
Oracle®Database JDBC Java API Reference 12c Release 1 (12.1.0.2) E56669-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |