Dynamically changing the WHERE clause of the view object query

During the execution of the view object's query, the ADF Business Components framework calls a series of methods to accomplish its task. You can intervene during this process by overriding any of the methods called by the framework, in order to change the query about to be executed by the view object. You can also explicitly call methods in the public view object interface to accomplish this task prior to the view object's query execution. Depending on what exactly you need to change in the view object's query, the framework allows you to do the following:

  • Change the query's SELECT clause by overriding buildSelectClause() or calling setSelectClause()
  • Change the query's ...

Get Oracle JDeveloper 11gR2 Cookbook 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.