aspose 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
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: 1368
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: 1368
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
 
Similar Threads
Can use a generic EJB-QL in CMP ?
ejbSelect
is EJB QL only for CMP ?
With EJB-QL, can I use ORDER BY clause?
EJB-QL input parameters CANNOT be used in LIKE expression.