A view object row is maintained by a view object cache, whereas an entity object is maintained by an entity cache and is shared by view objects using the same entity object definition. Each view object can have multiple row sets. Usually, when you use methods in oracle.jbo.server.ViewObjectImpl, such as getRowAtRangeIndex, BC4J uses the default row set.
View object attribute data is stored based on this mapping:
- Entity-derived view object attribute values are stored in a special entity object cache that persists for the life of the transaction.
- SQL-derived and transient/dynamic attribute values are stored on the view object row, which is cached for the life of the rowset.
This video demonstrates How to Create View Object in Oracle Application Framework (OAF):