I want to map a table when ID is also an Enum:
code example:
@Id
@Column(name="Parameter_Name")
@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 :)