ObjectMode – PB Docs 126

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

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

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:

To specify that you want ObjectMode disabled, clear
the ObjectMode check box on the Connection page of the Database
Profile Setup dialog box.


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x