"CREATE TABLE parent(id INT PRIMARY KEY NOT NULL, s VARCHAR(128)) STORAGE_FORMAT tuple(key_only = true);" +
"CREATE TABLE child(id INT PRIMARY KEY NOT NULL, pid INT, GROUPING FOREIGN KEY(pid) REFERENCES parent(id), s VARCHAR(128));");
int parent = ddl().getTableId(session(), new TableName(SCHEMA, "parent"));
int child = ddl().getTableId(session(), new TableName(SCHEMA, "child"));
Schema schema = SchemaCache.globalSchema(ddl().getAIS(session()));
RowType parentType = schema.tableRowType(getTable(parent));
RowType childType = schema.tableRowType(getTable(child));
StoreAdapter adapter = newStoreAdapter(schema);
txnService().beginTransaction(session());
Object[] r1 = { 1L, "Margaret" };