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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...