4 Replies Latest reply on Oct 18, 2006 12:27 PM by Peter Johnson

    List of enum types is possible?

    Aitor Menta Segura Newbie

      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

      My field is
       private List<UsoAeropuerto> usos;

      This is the UsoAeropuerto class
      public enum UsoAeropuerto {

      Thanks a lot!