assertEquals("pet6", pets.get(0).getName());
}
@Test
public void each_by_like_ignorecase() {
SimpleCriteria cri = Cnd.cri();
cri.where().andLike("name", "PeT6", true);
final List<Pet> pets = new ArrayList<Pet>();
dao.each(Pet.class, cri, dao.createPager(1, 10), new Each<Pet>() {
public void invoke(int i, Pet pet, int length) {
pets.add(pet);
}