Running a commit or a rollback when a user trigger an Action Listener in your java Bean is the first thing you’ll need to know in Oracle ADF.

The easiest way to do so is to retreive the transaction used by your user in the Application Module and trigger a Commit or Rollback while catching any validation exception that could occur.

I also like to leverage the getViewObjectFromIterator from the JSFUtils class to simply commit the ViewObject the user modified.

Here is how i usually do it :