This week's book giveaway is in the OCAJP forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Association in Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply locked New topic
Author

Association in Hibernate

Vikash Ananda
Ranch Hand

Joined: Oct 12, 2009
Posts: 32
Hi All,

I am using Hibernate for quite some time and want to learn about Associations in Hibernate like one to one, one to many, many to one and many to many. I googled but could not get any good site with easy and practical samples. Can you please direct me to good websites/articles.

Thanks,
Vikash Anand.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19844
    
  20

Moving to ORM.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Locking as dupe of: http://www.coderanch.com/t/467280/Object-Relational-Mapping/java/Learning-Hibernate-Associations
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Association in Hibernate