Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
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. |
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. |
Integer
Example