Package com.google.appengine.datanucleus.test.jpa.SubclassesJPA

Examples of com.google.appengine.datanucleus.test.jpa.SubclassesJPA.TablePerClassChild


  public void testGrandchildren() throws Exception {
    testGrandchild(new TablePerClassGrandchild());
  }

  public void testChildren() throws Exception {
    testChild(new TablePerClassChild(), null);
    testChild(new MappedSuperclassChild(), null);
    testChild(new SingleTableChild(), SingleTableChild.class.getName());
  }
View Full Code Here


      getExecutionContext().getClassLoaderResolver());
    getExecutionContext().getMetaDataManager().getMetaDataForClass(MappedSuperclassChild.class,
        getExecutionContext().getClassLoaderResolver());

    HasOneToManyWithUnsupportedInheritanceList parent = new HasOneToManyWithUnsupportedInheritanceList();
    parent.getChildren1().add(new TablePerClassChild());
    makePersistentWithExpectedException(startEnd, parent);

    parent = new HasOneToManyWithUnsupportedInheritanceList();
    parent.getChildren2().add(new MappedSuperclassChild());
    makePersistentWithExpectedException(startEnd, parent);
View Full Code Here

TOP

Related Classes of com.google.appengine.datanucleus.test.jpa.SubclassesJPA.TablePerClassChild

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.