Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Navigational and Type Functions, 27 of 36
Pins an array of references.
sword OCIObjectArrayPin ( OCIEnv *env, OCIError *err, OCIRef **ref_array, ub4 array_size, OCIComplexObject **cor_array, ub4 cor_array_size, OCIPinOpt pin_option, OCIDuration pin_duration, OCILockOpt lock, dvoid **obj_array, ub4 *pos );
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()
.
Array of references to be pinned
Number of elements in the array of references
An array of COR handles corresponding to the objects being pinned.
The number of elements in cor_array
.
Pin option.
Pin duration. See OCIObjectPin()
.
Lock option. See OCIObjectPin()
.
If this argument is not null, the pinned objects will be returned in the array. The user must allocate this array with element type being dvoid *. The size of this array is identical to array_size
.
If there is an error, this argument indicates the element that is causing the error. Note that this argument is set to 1 for the first element in the ref_array
.
All the pinned objects are retrieved from the database in one network round-trip. If the user specifies an output array (obj_array
), then the address of the pinned objects will be assigned to the elements in the array.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|