Skip Headers

# Configuring Named Query Type and Parameters

Previous

Next

Use this tab to select the query type and add or remove parameters.

Use the following information to complete each field on this tab:

Field | Description
--- | ---

Type

Select the type of query from the list. You can create any of the following query types:

- ReadAllQuery

- ReadObjectQuery

- ReportQuery Foot 1

To create other types of query, you must use Java (see "Using Java").

When you change the type of an existing query, TopLink Workbench preserves any configuration that is common between the old and new type and warns you if changing the type will result in the loss of configuration that is not shared by the new type.

Parameters

For queries that take parameters, specify the parameters:

- To add a new parameter, click Add. The Add Query Parameter dialog box appears. Click Browse to select the type, specify a name, and click OK.

- To delete an existing parameter, select the parameter and click Remove. TopLink Workbench prompts for confirmation.

- To modify an existing parameter, select the parameter and click Edit. The Edit Query Parameter dialog box appears. Modify the name and type of the parameter and click OK.

- To change the order of the parameters, select an existing parameter and click Up or Down.

Type | Select the class of the parameter's type.
Name | Enter the name of the parameter.

Footnote 1 Relational descriptors only.

See Also

  Configuring Named Queries at the Descriptor Level