XATransactionGroup
- Last Updated: January 24, 2023
- 1 minute read
- DataDirect Connectors
- JDBC
- Microsoft SQL Server 6.0
- 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.
Data source method
public String
getXATransactionGroup()
public void
setXATransactionGroup(String)
Default
None
Data type
String