wood burning stoves 2.0*
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: 1376
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: 1376
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
 
GeeCON Prague 2014
 
subject: EJB QL : Select Vs Find