Annotate it with the @Enumerated annotation.
On Aug 25, 2:11 pm, Larry Cable <[email protected]> wrote:
> Has anyone managed to get an enum persisted via JPA?
>
> I can't I get an exception from the runtime, "no such method <init>()
> V", which I take to mean that it cannot
> locate a public no-args constructor for the enum ... go figure ...
>
> :(
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---