Oracle Call Interface Programmer's Guide Release 2 (9.2) Part Number A96584-01 |
|
OCI Navigational and Type Functions, 31 of 36
Pins a table object for a specified duration.
sword OCIObjectPinTable ( OCIEnv *env, OCIError *err, CONST OCISvcCtx *svc, CONST OraText *schema_name, ub4 s_n_length, CONST OraText *object_name, ub4 o_n_length, dvoid *not_used, OCIDuration pin_duration, 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()
.
The OCI service context handle.
The schema name of the table.
The length of the schema name indicated in schema_name
, in bytes.
The name of the table.
The length of the table name specified in object_name
, in bytes.
This parameter is not currently used. Pass as null.
The pin duration.
See Also:
See description in |
The pinned table object.
This function pins a table object with the specified pin duration. The client can unpin the object by calling OCIObjectUnpin()
.
The table object pinned by this call can be passed as a parameter to OCIObjectNew()
to create a standalone persistent object.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|