0 Replies Latest reply on Feb 4, 2007 5:12 AM by yehuda rajuan

    Enum as ID

    yehuda rajuan Newbie

      I want to map a table when ID is also an Enum:
      code example:
      @Enumerated (value=EnumType.STRING)

      I get :
      org.hibernate.type.SerializationException: could not deserialize

      what should I do ,that I will have ID which is also an enum

      thanks in advance :)