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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine-java?hl=en
-~----------~----~----~----~------~----~------~--~---