Skip Headers

Oracle® Objects for OLE Developer's Guide
Release 9.2.0.4

Part Number B10952-01
Go To Table Of Contents
Contents

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


 
Oracle
Copyright © 1994, 2003 Oracle Corporation.

All Rights Reserved.
Go To Table Of Contents
Contents