Package org.apache.cayenne.jpa.itest.ch6.entity

Examples of org.apache.cayenne.jpa.itest.ch6.entity.UndeclaredEntity1


  public void testLoadImplicitFromUnitRoot() throws Exception {

    getDbHelper().deleteAll("UndeclaredEntity1");

    UndeclaredEntity1 e = new UndeclaredEntity1();
    getEntityManager().persist(e);
    getEntityManager().getTransaction().commit();

    assertEquals(1, getDbHelper().getRowCount("UndeclaredEntity1"));
  }
View Full Code Here

TOP

Related Classes of org.apache.cayenne.jpa.itest.ch6.entity.UndeclaredEntity1

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.