record = answer.get(0);
assertEquals(record.getDoublefield(), 11.22, 0.001);
assertEquals(record.getFloatfield(), 33.44, 0.001);
assertEquals(record.getIntegerfield().intValue(), 5);
example.clear();
example.createCriteria().andIntegerfieldEqualTo(8);
answer = dao.selectByExample(example);
assertEquals(1, answer.size());
record = answer.get(0);
assertEquals(record.getDoublefield(), 99, 0.001);