aspose file tools*
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 Spring in Action this week in the Spring 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Mapping relationships in Hibernate?