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. 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.
O84 Oracle 8.x and Oracle8i
O90 Oracle9i
O10 Oracle 10g
ObjectMode = value
Parameter |
Description |
---|---|
value |
Specifies whether object mode is enabled or not. Values are:
|
Yes
To turn ObjectMode off, clear the ObjectMode check box on the Connection tab of the Database Profile Setup dialog box, or set ObjectMode to “No” in a script.
To specify that you want ObjectMode disabled:
Database profile Deselect the ObjectMode check box on the Connection tab of the Database Profile Setup dialog box.
Application Type the following in code:
SQLCA.DBParm="ObjectMode=’No’"