This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "List, Bag and Set in JPA" Watch "List, Bag and Set in JPA" New topic
Author

List, Bag and Set in JPA

Pooja Shah
Greenhorn

Joined: Jan 05, 2009
Posts: 13
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: List, Bag and Set in JPA
 
Similar Threads
How to use map/bag/set/array while using hibernate annotations
Hibernate One to Many Mapping inserting only the first object
confused with JAP,Hibernate
Query on MiddleGen ..hbm2java task
Mixing Hibernate Annotations with .hbm files