File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes how to Join Multiple tables Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "how to Join Multiple tables" Watch "how to Join Multiple tables" New topic

how to Join Multiple tables

Vamsi Polimetla

Joined: Sep 12, 2006
Posts: 8
Hi i need to join multiple tables, any one got any idea, how to do this in hibernate.

i have 5 diffrent tables, i need to get all the data from the 5 tables based on Primary key. (PK) is common in all tables.

Thanks for your time
Halcon Guatemala
Ranch Hand

Joined: Sep 06, 2006
Posts: 57
Hi Vamsi, I hope it helps...

if join is necessary:


"La verdadera sabidur´┐Ża viene del temor de Dios"
I agree. Here's the link:
subject: how to Join Multiple tables
It's not a secret anymore!