oracle.jdbc.xa
Class OracleXid
oracle.jdbc.xa.OracleXid
- public class OracleXid
- implements 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. |
MAXGTRIDSIZE
public static final int MAXGTRIDSIZE
MAXBQUALSIZE
public static final int MAXBQUALSIZE
OracleXid
public OracleXid(int fId,
byte[] gId,
byte[] bId)
throws oracle.jdbc.xa.XAException
- OracleXid() -- The constructor that constructs an OracleXid
with given formatId, global transacrion Id and branch
qualifier.
- Parameters:
fId
- format IDgId
- global transaction IDbId
- branch Qualifier- Throws:
- oracle.jdbc.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 oracle.jdbc.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 IDbId
- branch Qualifier- Throws:
- oracle.jdbc.xa.XAException - if the size of gId or bId is more
than 64 bytes
getFormatId
public int getFormatId()
getGlobalTransactionId
public byte[] getGlobalTransactionId()
getBranchQualifier
public byte[] getBranchQualifier()