key = new Pkonly();
key.setId(7);
key.setSeqNum(8);
dao.insert(key);
PkonlyExample example = new PkonlyExample();
example.createCriteria().andIdGreaterThan(4);
int rows = dao.deleteByExample(example);
assertEquals(2, rows);
example = new PkonlyExample();
List<Pkonly> answer = dao.selectByExample(example);
assertEquals(1, answer.size());
} catch (SQLException e) {
fail(e.getMessage());
}