[appengine-java] Re: Inheritance in JDO

2009-08-24 Thread Tom Ball
Does anyone know if JPA supports polymorphism? I've been working with JDO because it appears to be better documented right now, but I'd switch for a more Java-like model. Tom On Sun, Aug 23, 2009 at 7:22 AM, David Given d...@cowlark.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1

[google-appengine] Persisting Enum values?

2009-07-31 Thread Tom Ball
We have a simple task object, currently persisted using JDO (using App Engine, of course). We'd like to add a GREEN/YELLOW/RED status enum state. Defining the enum class is easy: public enum Status { NONE(none), GREEN(green), YELLOW(yellow), RED(red); private final String label;