Oracle Objects for OLE C++ Class Library
Release 9.2

Part Number A95896-01
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback

ORef

The ORef interface represents an Oracle REF (reference) as well as a referenceable object (standalone instance).

Remarks

An Oracle REF is an identifier to a referenceable object. Referenceable objects are stored in rows of a object table. By pinning a REF, referenceable objects are fetched to the client side. An ORef implicitly pins the underlying REF when the attributes of a referenceable object is accessed for the first time. The ORef also encapsulates the functionality for object navigational operation utilizing the Complex Object Retrieval Capability (COR).

Attributes of a referenceable object represented by ORef are accessed in the same manner as attributes of an value instance represented by the OObject interface. ORef provides methods for update and delete operations on a referenceable object independent of the context they originated from, such as dynasets, parameters, etc.

Object level lock should be obtained before modifying the attributes of a referenceable object. This is done though the Edit method of the ORef.

The ORef constructor or Open method creates a new referenceable object in the server and returns information associated with the ORef Object. The Update method inserts a new referenceable object in the server.

Construction and destruction:

ORef

~ORef

operator=

Attributes:

GetEditOption
GetPinOption
GetTableName
IsOpen
operator==
operator!=
IsRefNull
SetEditOption
SetPinOption
Operations:

CancelEdit
Clone
Close
Delete
Edit
GetHexValue(ORef) Method
Open
Refresh
Update




 
Oracle
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents

Master Index

Feedback