Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Navigational and Type Functions, 34 of 36
Get an array of types given an array of references.
sword OCITypeArrayByRef ( OCIEnv *envhp, OCIError *errhp, ub4 array_len, CONST OCIRef *type_ref[], OCIDuration pin_duration, OCITypeGetOpt get_option, OCIType *tdo[] );
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()
.
Number of schema_name/type_name/version_name entries to be retrieved.
Array of OCIRef * pointing to the particular version of the type descriptor object to obtain. The array must have array_len
elements if specified.
Pin duration (for example,until the end of current transaction) for the types retrieved. See oro.h for a description of each option.
Options for loading the types. It can be one of two values:
Output array for the pointers to each pinned type in the object cache. It must have space for array_len
pointers. Use OCIObjectGetObjectRef()
to obtain the CREF to each pinned type descriptor.
Gets pointers to the with the schema/type name array.
This function returns an error if:
To retrieve a single type, rather than an array of types, use OCITypeByRef()
.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|