skip to main content
Connection property descriptions : XATransactionGroup
  

Try DataDirect Drivers Now

XATransactionGroup

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

setXATransactionGroup

Default

None

Data type

String

See also

Distributed transaction cleanup