record.setBlob2(generateRandomBlob());
dao.insert(record);
FieldsblobsExample example = new FieldsblobsExample();
example.createCriteria().andFirstnameLike("S%");
int rows = dao.countByExample(example);
assertEquals(1, rows);
example.clear();
rows = dao.countByExample(example);
assertEquals(2, rows);