Skip Headers

# Using TopLink Workbench

Previous

Next

To create a named query, use this procedure

1. In the Navigator, select a descriptor. Its properties appear in the Editor.

2. Click the Queries tab in the Editor. The Queries tab appear with three additional tabs.

3. Click the Named Queries tab in the Queries tab. The Named Queries tab appears.

4. Complete each field on the Named Queries tab.

The Named Queries tab includes the following subtabs:

- General–See "Configuring Named Query Type and Parameters".

- Selection Criteria–See "Configuring Named Query Selection Criteria".

- Order–This tab appears for `ReadAllQuery` queries only. See "Configuring Read All Query Order".

- Optimization–See "Configuring Named Query Optimization".

- Attributes–This tab appears for `ReportQuery` queries only. See "Configuring Named Query Attributes".

- Group/Order–This tab appears for `ReportQuery` queries only. "Configuring Named Query Group/Order Options".

- Calls–This tab appears for EIS root descriptors only (for `ReadAllQuery` and `ReadObjectQuery` queries). See "Creating an EIS Interaction for a Named Query".

- Options–See "Configuring Named Query Options".

See Also

  Configuring Named Queries at the Descriptor Level