record.setDoublefield(new Double(88.99));
record.setFloatfield(new Double(100.111));
record.setIntegerfield(new Integer(9));
dao.insert(record);
FieldsonlyExample example = new FieldsonlyExample();
example.createCriteria().andIntegerfieldEqualTo(new Integer(5));
example.setDistinct(true);
List answer = dao.selectByExample(example);
assertEquals(1, answer.size());
example.clear();
answer = dao.selectByExample(example);
assertEquals(5, answer.size());
} catch (SQLException e) {
fail(e.getMessage());
}