|
Oracle® Database JDBC Java API Reference 11g Release 2 ("11.2.0.0.1-Beta-1") BETA E13995-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 java.lang.String |
BUILD_DATE |
static int |
MAXBQUALSIZE |
static int |
MAXGTRIDSIZE |
static boolean |
PRIVATE_TRACE |
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 |
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(javax.transaction.xa.Xid xid) |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int MAXGTRIDSIZE
public static final int MAXBQUALSIZE
public static final java.lang.String BUILD_DATE
public static final boolean TRACE
public static final boolean PRIVATE_TRACE
Constructor Detail |
---|
public OracleXid(int fId, byte[] gId, byte[] bId) throws javax.transaction.xa.XAException
fId
- format IDgId
- global transaction ID (no copy performed)bId
- branch Qualifier (no copy performed)javax.transaction.xa.XAException
- if the size of gId or bId is more than 64 bytespublic OracleXid(int fId, byte[] gId, byte[] bId, byte[] context) throws javax.transaction.xa.XAException
fId
- format IDgId
- global transaction ID (no copy performed)bId
- branch Qualifier (no copy performed)context
- transation context (no copy performed)javax.transaction.xa.XAException
- if the size of gId or bId is more than 64 bytesMethod Detail |
---|
public int getFormatId()
getFormatId
in interface javax.transaction.xa.Xid
public byte[] getGlobalTransactionId()
getGlobalTransactionId
in interface javax.transaction.xa.Xid
public byte[] getBranchQualifier()
getBranchQualifier
in interface javax.transaction.xa.Xid
public static final boolean isLocalTransaction(javax.transaction.xa.Xid xid)
|
Oracle® Database JDBC Java API Reference 11g Release 2 ("11.2.0.0.1-Beta-1") BETA E13995-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |