It works for me, also without any annotation. Something like:

Enum {
  Enum1, Enum
};


class EnityClass {
    private Enum en;

    public Enum getEn() {
                return en;
        }

        public void setEn(Enum en) {
                this.en = en;
        }
}

EntityClass e = new EntityClass();
e. setEn(Enum.Enum1);
....
em.persist(e);

// after lauching  localhost.../_ah/admin/ I can see this entity and
proper 'en' value.

Could you provide more details ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to