First page Back Continue Last page Graphics

Using View Objects


Notes:

Using View Objects

View objects provide the ability to query data in ADF BC applications. There are two types of view objects that you can use to retrieve data from the database:

Updatable View through Entity Objects: Using entity object references enables view object instances to update data, use validation and other business rules from the entity object definition, and immediately synchronize data with other view object instances.

Read-only Access View: SQL-only view objects bypass entity cache population and are faster for many applications. Note that view objects of this type save changes in memory only, and are not persisted in the database.

You can also populate the rows of a view object programmatically or by using a static list, but these types of view objects are not covered in this course. This lesson discusses read-only view objects; updatable entity-based view objects are covered in the lesson titled “Querying and Persisting Data.”