This is part of Hibernate Annotations beta8
http://opensource2.atlassian.com/projects/hibernate/browse/ANN?report=com.atlassian.jira.plugin.system.project:roadmap-panel
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915019#3915019
Reply to the post :
http://w
The just-released proposed final draft has a new annotation allowing enum
fields to be persisted ordinals or strings.
public enum EmployeeStatus {FULL_TIME, PART_TIME, CONTRACT}
public enum SalaryRate {JUNIOR, SENIOR, MANAGER, EXECUTIVE}
@Entity public class Employee {
...
public EmployeeStatus
OK, problem solved, enums persist fine my problem was realted to tomcats
classloader not dealing with enums but now i have set the web magic to use
Jboss' classloader instead
:p
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913826#3913826
Reply to the