record.setLastname("Jones");
record.setId1(new Integer(3));
record.setId2(new Integer(4));
dao.insert(record);
PkfieldsKey key = new PkfieldsKey();
key.setId1(new Integer(3));
key.setId2(new Integer(4));
Pkfields newRecord = dao.selectByPrimaryKey(key);
assertNotNull(newRecord);
assertEquals(record.getFirstname(), newRecord.getFirstname());
assertEquals(record.getLastname(), newRecord.getLastname());