use of cn.hutool.db.ActiveEntity in project hutool by looly.
the class CRUDTest method findActiveTest.
@Test
public void findActiveTest() throws SQLException {
ActiveEntity find = runner.find(CollUtil.newArrayList("name AS name2"), Entity.create("user"), new ActiveEntityHandler());
Assert.assertEquals("user", find.getTableName());
}
Aggregations