"waynebaylor" wrote : I'm not sure, but I've only seen persistent Collections 
being used with Hibernate--not arrays. 
  | 
  | Have you tried using a List<UnderwritingConcernEnum> or 
Set<UnderwritingConcernEnum> instead of an array?

I get


  | javax.persistence.PersistenceException: org.hibernate.MappingException: 
Could no
  | t determine type for: java.util.Set, for columns: 
[org.hibernate.mapping.Column(
  | concerns)]
  | 

When I try a set or a list. It seems like it expects me to use a @OneToMany and 
specity the targetEntity type here, but I don't want to unless I must.

I was hoping I could get away with enums for specifying options.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053621#4053621

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053621
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to