Oracle Call Interface Programmer's Guide Release 9.0.1 Part Number A89857-01 |
|
OCI Navigational and Type Functions, 19 of 36
Returns a reference to a given persistent object.
sword OCIObjectGetObjectRef ( OCIEnv *env, OCIError *err, dvoid *object, OCIRef *object_ref );
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()
.
Pointer to a persistent object. It must already be pinned.
A reference to the object specified in object
. The reference must already be allocated. This can be accomplished with OCIObjectNew()
.
This function returns a reference to the given persistent object, given a pointer to the object. Passing a value (rather than an object) to this function causes an error.
|
Copyright © 1996-2001, Oracle Corporation. All Rights Reserved. |
|