use of org.apache.cayenne.test.jdbc.DBHelper in project cayenne by apache.
the class CacheInvalidationCase method startCayenne.
@Before
public void startCayenne() throws Exception {
this.runtime = configureCayenne().build();
DBHelper dbHelper = new DBHelper(runtime.getDataSource());
this.e1 = new TableHelper(dbHelper, "E1").setColumns("ID");
this.e1.deleteAll();
this.e2 = new TableHelper(dbHelper, "E2").setColumns("ID");
this.e2.deleteAll();
}
Aggregations