OCI-26204
Get the generated GTRID before the action
Cause
The active sessionless transaction is started using a transaction identifier (GTRID) generated by the client library. This transaction cannot be explicitly or implicitly suspended before the generated GTRID is retrieved by the user. Otherwise, the user will have no means to resume the transaction identified by the GTRID after the suspension.
Action
Retrieve the OCI_ATTR_XID attribute of the transaction handle that is set in the service context handle. Copy the XID struct pointed by the OCI_ATTR_XID attribute. Then, retry the action.