Examples of UndeclaredEntity1


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
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.