TableHelper ivRootTable = new TableHelper(dbHelper, "IV_ROOT");
ivRootTable.setColumns("ID", "NAME", "DISCRIMINATOR");
assertEquals(0, ivRootTable.getRowCount());
IvRoot root = context.newObject(IvRoot.class);
root.setName("XyZ");
root.getObjectContext().commitChanges();
assertEquals(1, ivRootTable.getRowCount());
Object[] rootData = ivRootTable.select();
assertEquals(3, rootData.length);