ObjectMode

Description

Allows DataWindow Designer to turn off the Oracle Call Interface (OCI) object mode. By default, DataWindow Designer sets the mode parameter of OCIInitialize(), the first OCI call in any OCI application, to OCI_OBJECT. When object mode is on, your application can define and use new database object types. However, if your application uses an Oracle 8.1.7 database, it cannot perform external OCI activity in a child OCI environment, such as calling an external DLL to execute queries in an Oracle 8.1.7 database, when object mode is on.

Applies to

Syntax

ObjectMode=value

Parameter

Description

value

Specifies whether object mode is enabled or not. Values are:

  • Yes (Default) Use object mode.

  • No Do not use object mode.

Default

Yes

Usage

To turn ObjectMode off, clear the ObjectMode check box on the Connection page of the Database Profile Setup dialog box, or set ObjectMode to “No” in a script.

Examples

Example 1

To specify that you want ObjectMode disabled: