users@glassfish.java.net

Re: use of enum class in entity

From: <glassfish_at_javadesktop.org>
Date: Mon, 27 Jul 2009 10:00:38 PDT

How about:
[code]
public enum MQAEnumState {

UNKNOWN,
ACTIVE,
IN_ACTIVE,
NEW_USER;

}
[/code]

You'll have to account for the UNKNOWN in your code though.
[Message sent by forum member 'culli' (culli)]

http://forums.java.net/jive/thread.jspa?messageID=357727