XATransactionGroup
- Last Updated: May 15, 2020
- 1 minute read
- DataDirect Connectors
- JDBC
- IBM Db2 5.1
- MySQL 5.1
- Progress OpenEdge 5.1
- SAP Sybase 5.1
- Documentation
Purpose
The transaction group ID that identifies any distributed transactions that are initiated by the connection. This ID can be used for distributed transaction cleanup purposes.
You can use the XAResource.recover method to roll back any transactions left in an unprepared state. When you call XAResource.recover, any unprepared transactions that match the ID on the connection used to call XAResource.recover are rolled back.
Valid Values
string
where:
- string
- is a valid transaction group ID.
Example
If you specify XATransactionGroup=ACCT200 and call XAResource.recover on
the same connection, any transactions that are left in an unprepared state identified by the
transaction group ID of ACCT200 are rolled back.
Default
None
Data Type
String