mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
修复Db.findAll全局忽略大小写无效问题
This commit is contained in:
@@ -114,7 +114,7 @@ public class CRUDTest {
|
||||
|
||||
@Test
|
||||
public void findTest() {
|
||||
final List<Entity> find = db.find(ListUtil.of("name AS name2"), Entity.of("user"), new EntityListHandler());
|
||||
final List<Entity> find = db.find(ListUtil.of("name AS name2"), Entity.of("user"), EntityListHandler.of());
|
||||
Assertions.assertFalse(find.isEmpty());
|
||||
}
|
||||
|
||||
|
@@ -31,7 +31,7 @@ public class ConcurentTest {
|
||||
for(int i = 0; i < 10000; i++) {
|
||||
ThreadUtil.execute(() -> {
|
||||
final List<Entity> find;
|
||||
find = db.find(ListUtil.of("name AS name2"), Entity.of("user"), new EntityListHandler());
|
||||
find = db.find(ListUtil.of("name AS name2"), Entity.of("user"), EntityListHandler.of());
|
||||
Console.log(find);
|
||||
});
|
||||
}
|
||||
|
@@ -190,7 +190,7 @@ public class DbTest {
|
||||
ps.setFetchSize(Integer.MIN_VALUE);
|
||||
ps.setFetchDirection(ResultSet.FETCH_FORWARD);
|
||||
return ps;
|
||||
}), new EntityListHandler());
|
||||
}), EntityListHandler.of());
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user