All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class oracle.jdbc.xa.OracleXid

java.lang.Object
   |
   +----oracle.jdbc.xa.OracleXid

public class OracleXid
extends Object
implements Serializable

Variable Index

 o MAXBQUALSIZE
 o MAXGTRIDSIZE

Constructor Index

 o OracleXid(int, byte[], byte[])
OracleXid() -- The constructor that constructs an OracleXid with given formatId, global transacrion Id and branch qualifier.
 o OracleXid(int, byte[], byte[], byte[])
OracleXid() -- The constructor that constructs an OracleXid with given formatId, global transacrion Id and branch qualifier, and transaction context.

Method Index

 o getBranchQualifier()
 o getFormatId()
 o getGlobalTransactionId()

Variables

 o MAXGTRIDSIZE
 public static final int MAXGTRIDSIZE
 o MAXBQUALSIZE
 public static final int MAXBQUALSIZE

Constructors

 o OracleXid
 public OracleXid(int fId,
                  byte gId[],
                  byte bId[]) throws XAException
OracleXid() -- The constructor that constructs an OracleXid with given formatId, global transacrion Id and branch qualifier.

Parameters:
fId - format ID
gId - global transaction ID
bId - branch Qualifier
Throws: XAException
if the size of gId or bId is more than 64 bytes
 o OracleXid
 public OracleXid(int fId,
                  byte gId[],
                  byte bId[],
                  byte context[]) throws XAException
OracleXid() -- The constructor that constructs an OracleXid with given formatId, global transacrion Id and branch qualifier, and transaction context.

Parameters:
fId - format ID
gId - global transaction ID
bId - branch Qualifier
Throws: XAException
if the size of gId or bId is more than 64 bytes

Methods

 o getFormatId
 public int getFormatId()
 o getGlobalTransactionId
 public byte[] getGlobalTransactionId()
 o getBranchQualifier
 public byte[] getBranchQualifier()

All Packages  Class Hierarchy  This Package  Previous  Next  Index