Finder/Select Methods

The EJB QL statements for the finder and select methods of an entity bean with container-managed persistence are specified in the Finder/Select Methods dialog.

  1. Select the radio button for interface/class to which the method belongs. The methods table will be updated to show the methods in the interface.
  2. Choose the method for which you are defining the query.
  3. In the "Query for" box, enter the statement that implements the query.
  4. Select the type of EJBs that will be returned by the query from the Return EJBs of Type drop-down list.


Copyright 1999-2001 Sun Microsystems, Inc. All Rights Reserved.