• Post Reply Bookmark Topic Watch Topic
  • New Topic

List, Bag and Set in JPA

 
Pooja Shah
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am trying to migrate some existing hibernate .hbm files to JPA annotations.
Is there any way i can represent the collections, list, bag and set in JPA.
I cant find any annotations corresponding to those used in the hbm files.
Are there any attributes in the relationships that might help?

Any ideas will help.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!