Examples of ChildToParentWithoutDiscriminator


Examples of com.google.appengine.datanucleus.test.jpa.SingleTableInheritanceJPA.ChildToParentWithoutDiscriminator

  }
 
  public void testMissingDiscriminator() {
    switchDatasource(getEntityManagerFactoryName());
    beginTxn();
    em.persist(new ChildToParentWithoutDiscriminator());
    try {
      commitTxn();
      fail("expected exeception");
    } catch (Exception e) {
      // good
View Full Code Here

Examples of com.google.appengine.datanucleus.test.jpa.SingleTableInheritanceJPA.ChildToParentWithoutDiscriminator

  }
   
  public void testMissingDiscriminator_NoTxn() {
    switchDatasource(getEntityManagerFactoryName());
    try {
      em.persist(new ChildToParentWithoutDiscriminator());
      em.close();
      fail("expected exeception");
    } catch (Exception e) {
      // good
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.