Package org.apache.cayenne.itest.cpa.defaults

Examples of org.apache.cayenne.itest.cpa.defaults.DefaultsTable2


        new Object[] { 1, "X" });
    getDbHelper().insert("defaults_table2",
        new String[] { "id", "defaults_table1_id" },
        new Object[] { 1, 1 });

    DefaultsTable2 o = (DefaultsTable2) DataObjectUtils.objectForPK(
        getContext(), DefaultsTable2.class, 1);
    assertNotNull(o.getToTable1());
    assertEquals("X", o.getToTable1().getName());
  }
View Full Code Here

TOP

Related Classes of org.apache.cayenne.itest.cpa.defaults.DefaultsTable2

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.