Databases Reference
In-Depth Information
5. Click on the Next > buton to change the Atributes seings for the view object.
Currently, we do not have to make any changes, so we can move forward.
6. The next screen will display the SQL query that will be used to retrieve informaion
from the DEPT table through the DeptEO object. You cannot change the query if the
data source for the view object is an enity object. You have an opion to update the
Where: and the Order By: clause.
The Binding: opion will help you to choose the type of binding to be used for
the view object. The Order By: opion is provided in order to see the data sorted
column-wise:
7. In the next screen, you can choose to create a bind variable to pass to the view
object query. The bind variable is helpful in retrieving the values from the data
source at runime. It is used as placeholders in a WHERE clause of a query or in
combinaion with view criteria.
A view criterion is a named WHERE clause added to the view object which is applied
at runime based on our business needs.
8. The next screen can be used to generate Java classes for the view object. The Java
classes are used to override the framework code and do some advanced operaions
for the view object—this will be explained in Chapter 11 , Advanced Features of ADF .
 
Search WWH ::




Custom Search