Package org.h2.jdbcx

Class JdbcXid

All Implemented Interfaces:
Xid

public final class JdbcXid extends TraceObject implements Xid
An object of this class represents a transaction id.
  • Method Details

    • getFormatId

      public int getFormatId()
      Get the format id.
      Specified by:
      getFormatId in interface Xid
      Returns:
      the format id
    • getBranchQualifier

      public byte[] getBranchQualifier()
      The transaction branch identifier.
      Specified by:
      getBranchQualifier in interface Xid
      Returns:
      the identifier
    • getGlobalTransactionId

      public byte[] getGlobalTransactionId()
      The global transaction identifier.
      Specified by:
      getGlobalTransactionId in interface Xid
      Returns:
      the transaction id