I\'ve got a Category Hibernate model:
@Entity @Table(name = \"category\") public class Category { @Id @GeneratedValue(strategy=GenerationType.AUTO)
Yes, is possible. It should be:
@Enumerated(EnumType.STRING) @Column(name = "category_type") private CategoryType categoryType;