Package org.h2.test.jdbcx
Class SimpleXid
java.lang.Object
org.h2.test.jdbcx.SimpleXid
- All Implemented Interfaces:
Xid
A simple Xid implementation.
-
Field Summary
Fields inherited from interface javax.transaction.xa.Xid
MAXBQUALSIZE, MAXGTRIDSIZE -
Method Summary
-
Method Details
-
createRandom
Create a new random xid.- Returns:
- the new object
-
getBranchQualifier
public byte[] getBranchQualifier()- Specified by:
getBranchQualifierin interfaceXid
-
getFormatId
public int getFormatId()- Specified by:
getFormatIdin interfaceXid
-
getGlobalTransactionId
public byte[] getGlobalTransactionId()- Specified by:
getGlobalTransactionIdin interfaceXid
-
hashCode
public int hashCode() -
equals
-
toString
-