You have misunderstood the way it works.
What if you had multiple attributes, like MALE("M", 1, 2)? How would it work
then, hmm??
The answer is that it doesn't -- it uses the enumeration names, such as MALE and
FEMALE. Replace "M" and "F" in your database with "MALE" and
"FEMALE", respectively.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3994205#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...