Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

EditOption (OraRef) Property

Applies To

OraRef Object

Description

Specifies whether the object is to be locked during the pin operation.

Arguments

[In/Out] edit_option
An integer representing the edit option.
Usage

edit_option = OraRef.EditOption

OraRef.EditOption = edit_option

Remarks

This property should be called before a pin operation on a Ref value, that is, before accessing an attribute for the first time on the OraRef object. This option is useful if the object attributes are modified immediately after the pin operation. Locking the object instance during the pin operation saves the round trip to the server during the Edit (OraRef) operation.

Possible values of edit_option are

Possible Values of edit_option

Constant
Value
Description
ORAREF_NO_LOCK

Does not lock the object in the server(default).
ORAREF_EXCLUSIVE_LOCK
2
Does exclusive lock on the object in the serve.
ORAREF_NOWAIT_LOCK
3
Does exclusive lock on the object in the server with the nowait option.
Data Type

Integer

Example

Example: EditOption (OraRef) Property