MappedSuperclass examples: http://code.google.com/p/datanucleus-appengine/source/browse/trunk/tests/org/datanucleus/test/AbstractBaseClassesJPA.java
Hope this helps, Max On Sat, Nov 14, 2009 at 1:33 PM, Abe Parvand <eparv...@gmail.com> wrote: > Hey Max, > > Do you have an example for JPA using inheritance, and preferrably an > abstract class being involved as well? Thanks in advance. > > On Oct 23, 4:07 pm, Max Ross > <maxr+appeng...@google.com<maxr%2bappeng...@google.com>> > wrote: > > Hi everyone, > > > > I've been plugging away at adding support for inheritance to our JDO/JPA > > implementation for quite awhile, but now that I have something working > that > > is compatible with the current SDK (1.2.6) I've made a preview release > > available for download: > http://datanucleus-appengine.googlecode.com/files/appengine-orm-1.0.4... > > > > This release provides support for inheritance of native datastore types > and > > embedded classes. Base classes with relationships are completely > untested > > and probably do not work. If you're excited to use inheritance in your > > object model please give it a spin and let me know how it goes. > > > > You can find information on using inheritance in JDO here: > http://www.datanucleus.org/products/accessplatform_1_1/jdo/orm/inheri... > > Note that app engine _only_ supports the 4th option, "complete-table." > > > > You can find information on using inheritance in JPA here: > http://www.datanucleus.org/products/accessplatform_1_1/jpa/orm/inheri... > > Note that app engine _only_ supports the 3rd option, "TABLE PER CLASS." > > > > You can find information on installing the JDO/JPA jars here: > http://code.google.com/p/datanucleus-appengine/wiki/HowToUpdateTheSDK... > > Note that this release does _not_ involve a change to the DataNucleus > > version so you can ignore those steps. > > > > Remember, this is a preview release, so the only guarantee I can provide > is > > that the unit tests pass. > > > > Thanks! > > Max > > -- > > 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-j...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=. > > > -- 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-j...@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=.