File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Object Relational Mapping and the fly likes List, Bag and Set in JPA Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "List, Bag and Set in JPA" Watch "List, Bag and Set in JPA" New topic

List, Bag and Set in JPA

Pooja Shah

Joined: Jan 05, 2009
Posts: 13

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.
I agree. Here's the link:
subject: List, Bag and Set in JPA
It's not a secret anymore!