This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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
jQuery in Action, 3rd edition