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:
- In the diagram editor, right-click a CMP 1.x entity bean; then
click .
- Follow the instructions in Add Finder Methods and EJBQL wizards.
- 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.