Package org.h2.jdbcx
Class JdbcXid
- java.lang.Object
-
- org.h2.message.TraceObject
-
- org.h2.jdbcx.JdbcXid
-
- All Implemented Interfaces:
javax.transaction.xa.Xid
public final class JdbcXid extends org.h2.message.TraceObject implements javax.transaction.xa.Xid
An object of this class represents a transaction id.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getBranchQualifier()
The transaction branch identifier.int
getFormatId()
Get the format id.byte[]
getGlobalTransactionId()
The global transaction identifier.-
Methods inherited from class org.h2.message.TraceObject
debugCode, debugCodeAssign, debugCodeCall, debugCodeCall, debugCodeCall, getNextId, getTraceId, getTraceObjectName, isDebugEnabled, isInfoEnabled, logAndConvert, quote, quoteArray, quoteBigDecimal, quoteBytes, quoteDate, quoteIntArray, quoteMap, quoteTime, quoteTimestamp, setTrace, unsupported
-
-
-
-
Method Detail
-
getFormatId
public int getFormatId()
Get the format id.- Specified by:
getFormatId
in interfacejavax.transaction.xa.Xid
- Returns:
- the format id
-
getBranchQualifier
public byte[] getBranchQualifier()
The transaction branch identifier.- Specified by:
getBranchQualifier
in interfacejavax.transaction.xa.Xid
- Returns:
- the identifier
-
getGlobalTransactionId
public byte[] getGlobalTransactionId()
The global transaction identifier.- Specified by:
getGlobalTransactionId
in interfacejavax.transaction.xa.Xid
- Returns:
- the transaction id
-
-