oracle.jdbc.xa
Class OracleXid
java.lang.Object
oracle.jdbc.xa.OracleXid
- All Implemented Interfaces:
- java.io.Serializable, javax.transaction.xa.Xid
- public class OracleXid
- extends java.lang.Object
- implements javax.transaction.xa.Xid, java.io.Serializable
- See Also:
- Serialized Form
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. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAXGTRIDSIZE
public static final int MAXGTRIDSIZE
- See Also:
- Constant Field Values
MAXBQUALSIZE
public static final int MAXBQUALSIZE
- See Also:
- Constant Field Values
TRACE
public static final boolean TRACE
- See Also:
- Constant Field Values
PRIVATE_TRACE
public static final boolean PRIVATE_TRACE
- See Also:
- Constant Field Values
BUILD_DATE
public static final java.lang.String BUILD_DATE
- See Also:
- Constant Field Values
OracleXid
public OracleXid(int fId,
byte[] gId,
byte[] bId)
throws javax.transaction.xa.XAException
- OracleXid() -- The constructor that constructs an OracleXid
with given formatId, global transacrion Id and branch
qualifier.
- Parameters:
fId
- format IDgId
- global transaction ID (no copy performed)bId
- branch Qualifier (no copy performed)
- Throws:
javax.transaction.xa.XAException
- if the size of gId or bId is more
than 64 bytes
OracleXid
public OracleXid(int fId,
byte[] gId,
byte[] bId,
byte[] context)
throws javax.transaction.xa.XAException
- OracleXid() -- The constructor that constructs an OracleXid
with given formatId, global transacrion Id and branch
qualifier, and transaction context.
- Parameters:
fId
- format IDgId
- global transaction ID (no copy performed)bId
- branch Qualifier (no copy performed)context
- transation context (no copy performed)
- Throws:
javax.transaction.xa.XAException
- if the size of gId or bId is more
than 64 bytes
getFormatId
public int getFormatId()
- Specified by:
getFormatId
in interface javax.transaction.xa.Xid
getGlobalTransactionId
public byte[] getGlobalTransactionId()
- Specified by:
getGlobalTransactionId
in interface javax.transaction.xa.Xid
getBranchQualifier
public byte[] getBranchQualifier()
- Specified by:
getBranchQualifier
in interface javax.transaction.xa.Xid
isLocalTransaction
public static final boolean isLocalTransaction(javax.transaction.xa.Xid xid)
Copyright © 1998,2004, Oracle. All rights reserved