QueryResult rResult = s2.createQueryCursor("select * from Owner", 50);
Assert.assertFalse(rResult.getCursor().next());
}
private void setupModel() {
DboTableMeta fkToTable = new DboTableMeta();
fkToTable.setup("Owner", "ourstuff", false, false);
DboColumnIdMeta id = new DboColumnIdMeta();
id.setup(fkToTable, "id", String.class, true);
DboColumnCommonMeta col1 = new DboColumnCommonMeta();
col1.setup(fkToTable, "name", String.class, false, false);
mgr.put(fkToTable);
mgr.put(id);
mgr.put(col1);
DboTableMeta meta = new DboTableMeta();
meta.setup("MyRaceCar", "ourstuff", false, false);
DboColumnIdMeta idMeta = new DboColumnIdMeta();
idMeta.setup(meta, "id", String.class, true);
DboColumnToOneMeta toOne = new DboColumnToOneMeta();
toOne.setup(meta, "carOwner", fkToTable, false, false);