aspose file tools
The moose likes Object Relational Mapping and the fly likes Hibernate Mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Hibernate Mapping" Watch "Hibernate Mapping" New topic

Hibernate Mapping

rahultiwary tiwari

Joined: Aug 15, 2012
Posts: 12
hi all
I have a problem in hibernate mapping of List of Enum.
I have a enum Class as follows:
public enum IntelligenceType {


then i have another class that uses this enum:

public class Hobby {

private String hobbyName;

private int hobbyExpertiseLevel;

private List<IntelligenceType> associatedIntelligenceTypeList;

//--------------------some other bunch of code goes down

i want to know that how to create the HBM file of list of enums..
Thanks in Advance.

Martin Vajsar

Joined: Aug 22, 2010
Posts: 3717

Looks like the ORM forum would be better suited for this question, so I shall move it there.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: Hibernate Mapping
It's not a secret anymore!