Oracle JDeveloper 10g for Forms & PL/SQL Developers: A Guide to Web Development with Oracle ADF
by Peter Koletzke, Duncan Mills
How Do I Handle Transactions?
Now that we’ve explained the basics of querying and updating, it is time to see how ADF BC handles some of the key transactional concepts, such as committing and locking.
The ADF Business Components tester provides Commit and Rollback buttons, but what are they doing and what is their scope? In order to explore this, we’ll need to look at a little code.
The Transaction Object
In ADF Business Components, the application module is the unit of transactional scope. When a commit is issued, that event will affect all entity objects encapsulated within view objects instantiated in that application module. Additionally, if you have nested application modules (See the sidebar “Nested Application Modules”), then these will ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access