key.setSeqNum(new Integer(8));
dao.insert(key);
PkonlyExample example = new PkonlyExample();
example.createCriteria().andIdGreaterThan(new Integer(4));
int rows = dao.countByExample(example);
assertEquals(2, rows);
example = new PkonlyExample();
rows = dao.countByExample(example);
assertEquals(3, rows);