Configuring named queries

Procedure

  1. On the Tasks page of the wizard, select Named Queries from the Task list.
  2. The queries list displays all of the generated queries. You can edit the existing queries, remove the queries, and create your own queries.
  3. To add a new query, click Add to open the Add Named Query window.
  4. On the Result Attributes tab, select the attributes for the query to return, or select a result bean to map to the entity attributes.
  5. In the Named Query Name field, enter a name to uniquely identify the named query. The text area displays the query as you are building it.
  6. On the Filter Results tab, define filters for the query.
  7. On the Order Results tab, define how the query results are displayed.
  8. Click OK to close the Add Named Query window.
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tjpaconfigquery.html