It's not a secret anymore!
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: 1396
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: 1396
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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: EJB QL : Select Vs Find
 
It's not a secret anymore!