Pete,

Thanks for the example. What if a number is stored in the database instead of a 
string? When I try to do this:



  | public enum TypePayment 
  | {
  | 1("ANNUAL"),
  | 2("SEMIANNUAL");
  | 

I get a compile error. Is there a way I could still use and enumeration when 
the data stored in the database is numeric?


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4059662#4059662

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4059662
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to