record.setBlob2(TestUtilities.generateRandomBlob());
dao.insert(record);
PkblobsExample example = new PkblobsExample();
example.createCriteria().andIdLessThan(new Integer(4));
int rows = dao.countByExample(example);
assertEquals(1, rows);
example.clear();
rows = dao.countByExample(example);
assertEquals(2, rows);