This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android this week in the Android 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 Lysenko
Ranch Hand

Joined: Mar 29, 2012
Posts: 511
    
    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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mapping relationships in Hibernate?
 
It's not a secret anymore!