Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
More OCI Relational Functions, 90 of 106
Detaches a transaction.
sword OCITransDetach ( OCISvcCtx *svchp, OCIError *errhp, ub4 flags );
The service context handle.
An error handle you can pass to OCIErrorGet()
for diagnostic information in the event of an error.
You must pass a value of OCI_DEFAULT for this parameter.
Detaches a global transaction from the service context handle. The transaction currently attached to the service context handle becomes inactive at the end of this call. The transaction may be resumed later by calling OCITransStart()
, specifying a flags value of OCI_TRANS_RESUME.
When a transaction is detached, the value which was specified in the timeout parameter of OCITransStart()
when the transaction was started is used to determine the amount of time the branch can remain inactive before being deleted by the server's PMON process.
For example code demonstrating the use of OCITransDetach()
see the description of OCITransStart()
.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|