[i]Hello friend ,
I have one issue . Actually i have created one enum class [/i]
public enum MQAEnumState {
ACTIVE,
IN_ACTIVE,
NEW_USER;
}//MQAEnumState
[i] I am using this enum class in my entity ....[/i]
@Enumerated(EnumType.ORDINAL)
private MQAEnumState status;
[i] but here the index value for enum as we know star with 0
but i wanted to specify my own values not 0 , 1, 2
what can be solution for this.
Please help me to solve this issue.
Thank you .[/i]
[Message sent by forum member 'snehalpatil' (snehalpatil)]
http://forums.java.net/jive/thread.jspa?messageID=357683