Hi all!
I'd like to know if it's possible to have an entity with a field that is a list of
a enumeration type. I've been using entities with enumerated fields but all of theme
has a multiplicity of one.
When I try to deploy I get this error:
| Reason: org.hibernate.MappingException: Could not determine type for:
java.util.List, for columns: [org.hibernate.mapp
| ing.Column(usos)]
|
My field is
| @Enumerated(EnumType.STRING)
| private List<UsoAeropuerto> usos;
|
This is the UsoAeropuerto class
| ...
| public enum UsoAeropuerto {
| DEPORTIVO,
| CIVIL,
| MILITAR
| }
|
|
Thanks a lot!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971575#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...