TimesTen Pro*C/C++ Precompiler Options
This section discusses the use of Pro*C/C++ Precompiler options in TimesTen.
Precompiler Option Support
There are supported precompiler options in TimesTen.
SeeTable 4-2.
Note:
TimesTen does not support the following features or related options: Advanced Queueing, database optimization, user-defined objects. Also, TimesTen supports only CPOOL=NO
and does not support related options.
Table 4-2 TimesTen Pro*C/C++ Precompiler Option Support
Option | Notes |
---|---|
|
Supported value: |
|
No notes |
|
Supported value: The Oracle Database default value of |
|
No notes |
|
No notes |
|
No notes |
|
Supported value: |
|
No notes |
|
No notes |
|
Supported value: |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
Supported value: |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
Supported value: |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
Not applicable Any of the Whenever a Pro*C/C++ application uses PL/SQL, Pro*C/C++ acts as though the Important: A setting of |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
No notes |
|
Supported value: |
|
No notes |
Note:
TimesTen does not support the default value for CLOSE_ON_COMMIT
. TimesTen supports only CLOSE_ON_COMMIT=YES
.
Setting Precompiler Options
You can set precompiler options in one of several ways.
-
At compile time, either in the configuration file
pcscfg.cfg
or on the Pro*C/C++ command lineA command line setting takes precedence over a setting in the configuration file.
-
At runtime through the
EXEC ORACLE OPTION
commandA runtime setting takes precedence over a compile-time setting.
For example, the following shows portions of the configuration file that ships with TimesTen.
ltype=short parse=full close_on_commit=yes ...
The following command line would override the ltype=short
setting from the configuration file:
% proc ltype=long ... iname=sample.pc
The following runtime command would override the ltype=long
setting from the command line:
EXEC ORACLE OPTION LTYPE=NONE;