You also can use the @Enumerated - annotation and choose the type ORDINAL or STRING, so
you won't get problems with the order of newly added enum-constants.
| @Enumerated(EnumType.STRING)
| @Column(name="CATEGORY", nullable=false)
| private Category category;
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4020073#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...