Sun-specific Finder/Select Queries
Enterprise Bean -> Entity tabbed pane -> Sun-specific Finder Queries button
The Finder/Select Queries dialog enables you to provide the JDO Query Language (QL) for Container-Managed Persistence Query Methods. JDO-QL enables the Bean Provider to specify the semantics of query methods in a portable way.
Finder methods allow the results of an JDO QL query to be used by the clients of the entity bean. Finder methods are defined in the home interface(s) of an entity bean and return entity objects or local entity objects.
To use the Finder/Select Queries, fill in the values in the JDO-QL Queries for Finder/Select Queries panel.
- Method - This contains the method name for the query field.
- JDO-QL Query - This text box will display the query that results from your input in other fields.
- JDO-QL Variables - Identification variables designate instances of a particular entity bean abstract schema type.
- JDO-QL Params - An EJB QL query may have parameters that correspond to the parameters of the finder or select method for which it is defined.
- JDO-QL Order By- Specify the order of the result set of a query. An ordering specification is a String that contains a list of comma-separated expressions, each with an ascending/descending indicator.
Legal Notices