mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-07-21 15:09:48 +08:00
add GlobalDbConfig
This commit is contained in:
@@ -92,6 +92,13 @@ public class CRUDTest {
|
||||
Assert.assertEquals(2, results.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void findInTest3() throws SQLException {
|
||||
List<Entity> results = db.findAll(Entity.create("user")
|
||||
.set("id", new long[]{1, 2, 3}));
|
||||
Assert.assertEquals(2, results.size());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void findAllTest() throws SQLException {
|
||||
List<Entity> results = db.findAll("user");
|
||||
|
Reference in New Issue
Block a user