How Can I Update Data?

The process of defining a simple read-only query has introduced two of the five major ADF Business Components artifacts: view objects and application modules.

Now we need to explain how data can be queried from the database, changed, and then put back—essentially the basic functionality of an Oracle Forms data block. If we think of the view object as defining the block’s Query Data Source, how does the corresponding block property DML Data Source get defined?

1. Create an Entity Object

In order to implement update functionality, a new object type needs to be created: the entity object. Entity objects have a one-to-one mapping relationship with database objects, for example, a table or a view. They represent a sort of business-tier ...

Get Oracle JDeveloper 10g for Forms & PL/SQL Developers: A Guide to Web Development with Oracle ADF now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.