Oracle Call Interface Programmer's Guide Release 9.0.1 Part Number A89857-01 |
|
OCI Navigational and Type Functions, 21 of 36
Locks a persistent object at the server.
sword OCIObjectLock ( OCIEnv *env, OCIError *err, dvoid *object );
The OCI environment handle initialized in object mode. See the description of OCIEnvCreate()
and
OCIInitialize()
for more information.
The OCI error handle. If there is an error, it is recorded in err
and this function returns OCI_ERROR. Obtain diagnostic information by calling OCIErrorGet()
.
A pointer to the persistent object being locked. It must already be pinned.
This function will return an error for transient objects and values. It also returns an error if the object does not exist.
OCIObjectPin()
,
OCIObjectIsLocked()
,
OCIObjectGetProperty()
,
OCIObjectLockNoWait()
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|