Database Error Messages

Release
toggle
  • 23ai
Updated
Jun 24, 2024

DIA-26210

The XID attribute of this transaction handle is read-only.

Cause

The resumable transaction active in the current session was started on server. This transaction handle is created and managed by the client library to track the states of the resumable transaction and is read-only. The OCI_ATTR_TRANS attribute of the service context handle is set to this transaction handle when the active resumable transaction is active. This transaction handle will be freed by the client library when the transaction becomes inactive, and the OCI_ATTR_TRANS attribute of the service context handle is set back to the setting before the resumable transaction started on the server.


Action

This transaction handle cannot be altered. To alter the original transaction handle that was set before the resumable transaction started on server, end (suspend, commit, or rollback) the active resumable transaction. Then, get the original transaction handle from service context handle's OCI_ATTR_TRANS attribute, and retry operation on that handle.