ObjectMode database parameter
Description
Allows PowerBuilder to turn off the Oracle Call Interface (OCI)
object mode. By default, PowerBuilder 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.
Controls
-
O90 Oracle9i
-
O10 Oracle 10g
-
ORA Oracle 11g
Syntax
1 |
ObjectMode=<span>value</span> |
Parameter |
Description |
---|---|
value |
Specifies whether object mode is enabled
|
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
To specify that you want ObjectMode disabled:
-
Database profile
Deselect the ObjectMode check box on the Connection page of
the Database Profile Setup dialog box. -
Application
Type the following in code:
1SQLCA.DbParameter="ObjectMode='No'"
To specify that you want ObjectMode disabled, clear
the ObjectMode check box on the Connection page of the Database
Profile Setup dialog box.