OIntegerPk oIntegerPk = new OIntegerPk();
oIntegerPk.save();
CompPkContainsFk compPkContainsFk = new CompPkContainsFk();
compPkContainsFk.setId1(oIntegerPk.getId());
compPkContainsFk.setId2("test");
compPkContainsFk.save();
List<CompPkContainsFk> selectedList
= CompPkContainsFkPeer.doSelect(new Criteria());
assertEquals(1, selectedList.size());
CompPkContainsFk selected = selectedList.get(0);