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