wood burning stoves 2.0*
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
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: 19651
    
  18

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
 
jQuery in Action, 2nd edition
 
subject: Association in Hibernate
 
Similar Threads
When and why to choose Hibernate ?
hbm file version working but annotation not
Learning Hibernate Associations
New to Hibernate
3 tables to one .. one is to many relationship question