Oracle® Objects for OLE Developer's Guide 10g Release 1 (10.1) Part Number B10118-01 |
|
See Also |
Properties |
Methods |
Examples |
The OraObject interface is a representation of an Oracle value instance (non-referenceable object instance or embedded objects). Value instances are the instances of an Oracle object type stored in the column of a table or attribute of an another Oracle object instance or element of an Oracle collection.
Remarks
Implicitly OraObject contains a collection interface for accessing and manipulating (updating and inserting) individual attributes of an value instance. Individual attributes can be accessed by using a subscript or the name of the attribute.
The OraObject attribute index starts from 1. The Count property returns the total number of attributes. Each attribute of the underlying value instance is represented as an OraAttribute Object.
Attribute values are retrieved as variants. The variant type of the attribute depends on the attribute type of the object. Attribute values can be Null and can be set to Null. For Attribute of type objects, REF, LOB, and Collection, attribute values are returned as corresponding OO4O objects for that type. See OraAttribute object for more information.
The CreateOraObject method on the OraDatabase object returns the OraObject. The value instance associated with this OraObject is created in the client side object cache.
For information on executing a member method of a value instance, see Executing a Member Method of an Oracle Object Instance.
For information on initializing an OraObject representing a value instance in OO4O or executing a member method of a value instance, see Initializing Oracle LOBs, Objects, and Collection.