Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Navigational and Type Functions, 36 of 36
Get a type given a reference.
sword OCITypeByRef ( OCIEnv *env, OCIError *err, 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()
.
An OCIRef * pointing to the version of the type descriptor object to obtain.
Pin duration until the end of current transaction for the type to retrieve. See oro.h for a description of each option.
Options for loading the type. It can be one of two values:
Pointer to the pinned type in the object cache.
OCITypeByRef()
returns an error if any of the required parameters is null.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|