I'm new to this and trying to make inheritance work with JDO and App Engine. Looking at the
documentation (http://code.google.com/appengine/docs/java/datastore/ dataclasses.html#Inheritance) I see that I can not use new-table for
an object that is not at the root of the inheritance hierarchy. So
I'm trying this: @Inheritance(strategy =
InheritanceStrategy.NEW_TABLE) on "User," an object that is indeed at the root of the hierarchy, and I'm leaving the object extending it,
"Publisher" without an inheritance strategy.
I'm getting the following:
$UnsupportedInheritanceStrategyException: Found inheritance strategy
'superclass-table' on com.myapp.model.Publisher.
Like I said, there is no inheritance strategy on Publisher, so I
assume the framework is adding the superclass-table on its own.
What should I do? How should go about it? The documentation gives an
example for and abstract class at the root, but for my app I need User
to be stored in it's own table, and only some Users are Publishers, so
there would also be a Publisher "table."