public void testPersonEmptyProjectsInsert()
{
resetStmtCount();
myPB.clearCache();
myPB.beginTransaction();
Person pers = new Person();
myPB.store(pers);
//SELECT A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM OJB_HL_SEQ A0 WHERE (A0.TABLENAME LIKE 'SEQ_PERSON' ) AND A0.FIELDNAME LIKE 'ID'
//SELECT VERSION,GRAB_SIZE,MAX_KEY,FIELDNAME,TABLENAME FROM OJB_HL_SEQ WHERE TABLENAME = 'SEQ_PERSON' AND FIELDNAME = 'ID'
//UPDATE OJB_HL_SEQ SET MAX_KEY='150',GRAB_SIZE='20',VERSION='7' WHERE TABLENAME = 'SEQ_PERSON' AND FIELDNAME = 'ID' AND VERSION = '6'
// commit|
//SELECT LASTNAME,FIRSTNAME,ID FROM PERSON WHERE ID = '131'
//INSERT INTO PERSON (ID,FIRSTNAME,LASTNAME) VALUES ('131','','')
logStmtCount("Storing first person"); // 6. oma: why so many? double lookup in OJB_HL_SEQ !
resetStmtCount();
pers = new Person();
myPB.store(pers, ObjectModificationDefaultImpl.INSERT);
myPB.commitTransaction();
// INSERT INTO PERSON (ID,FIRSTNAME,LASTNAME) VALUES ('172','','')
// commit
assertStmtCount("insert second Person with empty collection.", 2);