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 the java query language Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "the java query language" Watch "the java query language" New topic
Author

the java query language

Marembo Ochieng'
Greenhorn

Joined: Sep 12, 2009
Posts: 19
i am using entity beans to develop my ejb module
now when specifying a @NamedQuery for a particular entity i find that the parameters of constraints for the database querying are linked like:
SELECT result FROM Result result JOIN result.grades grade JOIN grade.student student JOIN result.academicPeriod period WHERE ....... are the multiple JOIN statements
correct? i cant find anywhere where multiple JOINS have been used. i really need to know this and i'll appreciate any help
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56163
    
  13

"Vampire Triple", please check your private messages for an important administrative matter.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: the java query language
 
Similar Threads
Entity bean representing a query
Basic Hibernate many-to-many mapping / query not right
Joining entities for a simple full text search
How to access resultmaps from another existing result map in iBATIS 2x
Daemon threads and join()