Package org.apache.cayenne.test.jdbc

Examples of org.apache.cayenne.test.jdbc.DBHelper.deleteAll()


    assertSame(sorter1, sorter2);
  }

  public void testNewContext_separateObjects() throws Exception {
    DBHelper dbUtils = getDbUtils();
    dbUtils.deleteAll("TABLE1");
    dbUtils.insert("TABLE1", new String[] { "ID", "NAME" }, new Object[] {
        1, "Abc" });

    SelectQuery query = new SelectQuery(Table1.class);
View Full Code Here


    assertSame(sorter1, sorter2);
  }

  public void testNewContext_separateObjects() throws Exception {
    DBHelper dbUtils = getDbUtils();
    dbUtils.deleteAll("TABLE1");
    dbUtils.insert("TABLE1", new String[] { "ID", "NAME" }, new Object[] {
        1, "Abc" }, null);

    SelectQuery query = new SelectQuery(Table1.class);
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.