Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Object Relational Mapping and the fly likes Mapping relationships in Hibernate? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Mapping relationships in Hibernate?" Watch "Mapping relationships in Hibernate?" New topic
Author

Mapping relationships in Hibernate?

Volodymyr Levytskyi
Ranch Hand

Joined: Mar 29, 2012
Posts: 505
    
    1

Hello!

Can anybody explain me the following in hibernate:

1. For @OneToMany association when to use List, Set, Collection

2. For @ManyToMany association when to use List, Set, Collection.

Thank you for any tips!


True person is moral, false is right!
 
Have you tried LearnNowOnline? http://www.learnnowonline.com/
 
subject: Mapping relationships in Hibernate?