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

Examples of com.google.appengine.datanucleus.test.jpa.HasPolymorphicRelationsListJPA.HasOneToManyWithUnsupportedInheritanceList


    getExecutionContext().getMetaDataManager().getMetaDataForClass(TablePerClassChild.class,
      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.HasPolymorphicRelationsListJPA.HasOneToManyWithUnsupportedInheritanceList

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.