Adding finder methods to CMP 1.x entity beans

You can add finder methods and Enterprise JavaBeans™ (EJB) query language (EJBQL) queries to container-managed persistence (CMP) 1.x entity beans.

To add a finder method to a CMP 1.x entity bean:
  1. In the diagram editor, right-click a CMP 1.x entity bean; then click Add EJB > Finder.
  2. Follow the instructions in Add Finder Methods and EJBQL wizards.
  3. Click Finish.
Tip: You can also use the action bars in the diagram editor or the EJB Deployment Descriptor to add finder methods to CMP 1.x entity beans.
Related concepts
Class diagrams
Related tasks
Adding session bean facades to CMP entity beans
Creating fields of CMP entity beans
Adding queries to CMP 2.x entity beans
Adding client views to CMP entity beans
Removing client views from CMP entity beans
Creating and managing CMP relationships
Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.