View Object

How to fix Invalid column index SQLException in Oracle ADF?

The java.sql.SQLException: Invalid column index often occurs in ADF when your ADF View Object(VO) get desynchronized while adding a new column to an existing Entity object(EO). After adding the new Table column to your Entity Object and View Object the following error occur at runtime : This error usually occurs when your View Object Query …

How to fix Invalid column index SQLException in Oracle ADF? Read More »

How to programmatically commit or rollback a transaction in Oracle ADF?

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 …

How to programmatically commit or rollback a transaction in Oracle ADF? Read More »

Screenshot of an ADF 11g View Object with View Criteria

How to unapply a View Criteria programmatically from a View Object in ADF?

Yesterday, I shared a quick tip on how to apply a ViewCriteria in your ADF Controller project. ( www.cedricleruth.com/how-to-apply-a-viewcriteria-programmatically-in-adf/ ) And if you’re using this snippet, you may also need to remove this ViewCriteria from the ViewObject programmatically. A typical use case is a toggle button on top of an ADF table to only display …

How to unapply a View Criteria programmatically from a View Object in ADF? Read More »

Screenshot of an ADF 11g View Object with View Criteria

How to apply a viewCriteria programmatically in ADF?

You often need to filter and modify the where clause of your view object programmatically in your controller bean depending on a user action. (for example, a click on a button will show a different set of data in the same table) To do so you can either add the where clause programmatically in the …

How to apply a viewCriteria programmatically in ADF? Read More »

Scroll to Top