Class GlobalXact

java.lang.Object
org.apache.derby.iapi.store.access.GlobalXact
Direct Known Subclasses:
GlobalXactId, XAXactId

public abstract class GlobalXact extends Object
This abstract class represents a global transaction id which can be tested for equality against other transaction ids, which can be hashed into a hash table, and which can be output as a string.

This class has 2 direct subclasses.

  • org.apache.derby.iapi.store.access.xa.XAXactId : this class is a specific implementation of the JTA Xid interface
  • org.apache.derby.impl.store.access.GlobalXactId : this class represents internal Derby transaction ids

The main reason for this class is to ensure that equality etc. works in a consistent way across both subclasses.

  • Field Details

    • format_id

      protected int format_id
      Protected Fields of the class
    • global_id

      protected byte[] global_id
    • branch_id

      protected byte[] branch_id
  • Constructor Details

    • GlobalXact

      public GlobalXact()
  • Method Details