|Oracle Call Interface Programmer's Guide
Part Number A89857-01
More OCI Relational Functions, 86 of 97
Rolls back the current transaction.
A service context handle. The transaction currently set in the service context handle is rolled back.
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.
The current transaction-- defined as the set of statements executed since the last
OCITransCommit() or since
OCISessionBegin()--is rolled back.
If the application is running under object mode then the modified or updated objects in the object cache for this transaction are also rolled back.
Attempting to roll back a global transaction that is not currently active causes an error.