File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes EJB and other Java EE Technologies and the fly likes EJB QL :    Select  Vs Find Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "EJB QL :    Select  Vs Find" Watch "EJB QL :    Select  Vs Find" New topic
Author

EJB QL : Select Vs Find

kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
What are the difference between select and finder methods in EJB QL other than select is used in the Bean Class(so it is protected from the client) and Find is used in the Home Interface?
kri shan
Ranch Hand

Joined: Apr 08, 2004
Posts: 1382
Any update?
Valentin Tanase
Ranch Hand

Joined: Feb 17, 2005
Posts: 704
Finder returns a collection of primary keys, while select can return any serializable data type or references to other entity beans.


I think, therefore I exist -- Rene Descartes
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EJB QL : Select Vs Find