TimesTen OCI Support Reference
This is a reference section for TimesTen support of OCI features.
Supported OCI Calls
There is TimesTen support for OCI calls.
Table 3-2 lists TimesTen support for OCI calls that are documented for Oracle Database 19c releases.
Some groups of calls are represented with an asterisk in the name. For example, the calls related to Advanced Queuing, which TimesTen does not support, have names that start with OCIAQ
and are represented in the table as OCIAQ*()
. OCI date functions, which TimesTen does support, are designated by OCIDate*()
.
Note:
TimesTen does not support the following features or related calls: Advanced Queueing, Any Data, collections, Data Cartridge, Direct Path Loading, user-defined objects, XML DB.
Table 3-2 TimesTen OCI Supported Calls
OCI Call | Notes |
---|---|
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
See Supported Handles and Attributes. TimesTen support includes special usage with cache groups. See Using Cache Operations With TimesTen OCI. |
|
|
|
This is supported for SQL statements but not PL/SQL. |
|
The following is an unsupported value for the
|
|
The following is an unsupported value for the
|
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
See Table 3-4. |
|
This is supported for SQL statements but not PL/SQL. |
|
The following is an unsupported value for the
|
|
No notes |
|
PL/SQL objects are not supported. Describing objects is supported only by name. See Supported Parameter Attributes. The following are unsupported values for the
The following are unsupported values for the
When you use the setting |
|
No notes |
|
No notes |
|
Supported for LOBs. Regardless of the duration setting, the duration cannot exceed the lifetime of the transaction. |
|
Supported for LOBs. Regardless of the duration setting, the duration cannot exceed the lifetime of the transaction. |
|
The following are unsupported values for the
|
|
The following are unsupported values for the
Note: Use |
|
The following are unsupported values for the
|
|
No notes |
|
No notes |
|
No notes |
|
The following are unsupported values for the
Note: Use |
|
See Table 3-4. |
|
TimesTen supports
Notes:
|
|
No notes |
|
No notes |
|
|
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
|
|
|
|
No notes |
|
TimesTen does not support switching between sessions. |
|
No notes |
|
The following are unsupported values for the
Note: Using |
|
No notes |
|
The only supported values for the |
|
No notes |
|
The only supported value for the |
The only supported value for the For statement caching, TimesTen supports the |
|
|
The only supported value for the For statement caching, TimesTen supports the |
|
No notes |
|
No notes |
|
The only supported value for the |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
Supported Handles and Attributes
There are handles and attributes that TimesTen OCI supports for OCIAttrGet()
and OCIAttrSet()
calls.
Table 3-3 lists the handles and attributes that TimesTen OCI supports for OCIAttrGet()
and OCIAttrSet()
calls.
See Handle and Descriptor Attributes in Oracle Call Interface Programmer's Guide.
Table 3-3 TimesTen OCI Supported Handles and Attributes
Handle | C Object | Supported Attributes |
---|---|---|
Environment |
|
|
Error |
|
|
Service context |
|
|
Statement |
|
|
Bind |
|
|
Define |
|
|
Describe |
|
|
Server |
|
|
User session |
|
|
Authentication |
|
Same as for user session handle |
Transaction |
|
|
Thread |
|
N/A |
Supported Descriptors
There are descriptors that TimesTen OCI supports.
Table 3-4 lists the descriptors that TimesTen OCI supports.
Table 3-4 TimesTen OCI Supported Descriptors
Descriptor | C Object |
---|---|
Parameter (read-only) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
User callback |
|
Supported OCI-Defined Constants
There are OCI-defined constants that TimesTen OCI supports as well as mappings to TimesTen SQL types.
Table 3-5 lists the OCI-defined constants that TimesTen OCI supports and the mappings to TimesTen SQL types.
Table 3-5 TimesTen OCI Supported OCI-Defined Constants
OCI-defined Constant | TimesTen SQL Type | Notes |
---|---|---|
|
|
No notes |
|
|
No notes |
|
|
No notes |
|
|
No notes |
|
|
No notes |
|
|
No notes |
|
|
No notes |
|
|
To write to or read from an NCLOB, set the character set form ( |
|
|
No notes |
|
|
No notes |
|
|
No notes |
|
|
No notes |
|
|
No notes |
|
|
No notes |
|
N/A |
Not stored in TimesTen. |
|
N/A |
Not stored in TimesTen. |
|
|
No notes |
|
|
No notes |
|
|
Truncated at 4 MB when stored in TimesTen. |
|
|
Truncated at 4 MB when stored in TimesTen. |
|
|
No notes |
|
|
No notes |
|
|
Rowids are returned in Oracle Database format. |
|
N/A |
Only one result set parameter is allowed for each statement. Not stored in TimesTen |
|
|
Null-terminated. |
|
|
No notes |
|
|
Time zone ignored when stored in TimesTen. |
|
|
Time zone ignored when stored in TimesTen. |
|
|
No notes |
|
|
No notes |
|
|
No notes |
|
|
First byte indicates length of number (length of succeeding bytes). |
|
|
No notes |
Supported Parameter Attributes
There are supported parameter attributes for OCIDescribeAny()
calls.
Table 3-6 that follows lists supported parameter attributes for OCIDescribeAny()
calls.
See Describing Schema Metadata in Oracle Call Interface Programmer's Guide for information about supported attributes.
Table 3-6 TimesTen OCI Supported Parameter Attributes
Parameter | Supported Attributes |
---|---|
All parameters |
|
Table and view parameters |
|
PL/SQL procedure and function parameters |
|
PL/SQL package subprogram parameters |
|
PL/SQL package parameters |
|
Sequence parameters |
|
Column parameters |
|
Argument and result parameters |
|
List parameters |
|
Database parameters |
|