File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mapping relationships in Hibernate?

 
Volodymyr Lysenko
Ranch Hand
Posts: 511
1
Eclipse IDE Java
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic