This commit is contained in:
@@ -19,11 +19,12 @@ import org.redkale.convert.json.*;
|
|||||||
public class FilterNodeTest {
|
public class FilterNodeTest {
|
||||||
|
|
||||||
public static void main(String[] args) throws Exception {
|
public static void main(String[] args) throws Exception {
|
||||||
|
final Properties props = new Properties();
|
||||||
final Function<Class, List> fullloader = (Class t) -> new ArrayList();
|
final Function<Class, List> fullloader = (Class t) -> new ArrayList();
|
||||||
final Function<Class, EntityInfo> func = (Class t) -> EntityInfo.load(t, 0, false, fullloader);
|
final Function<Class, EntityInfo> func = (Class t) -> EntityInfo.load(t, 0, false, props, fullloader);
|
||||||
final EntityInfo<CarTestTable> carEntity = EntityInfo.load(CarTestTable.class, 0, false, (t) -> CarTestTable.createList());
|
final EntityInfo<CarTestTable> carEntity = EntityInfo.load(CarTestTable.class, 0, false, props, (t) -> CarTestTable.createList());
|
||||||
final EntityInfo<UserTestTable> userEntity = EntityInfo.load(UserTestTable.class, 0, false, (t) -> UserTestTable.createList());
|
final EntityInfo<UserTestTable> userEntity = EntityInfo.load(UserTestTable.class, 0, false, props, (t) -> UserTestTable.createList());
|
||||||
final EntityInfo<CarTypeTestTable> typeEntity = EntityInfo.load(CarTypeTestTable.class, 0, false, (t) -> CarTypeTestTable.createList());
|
final EntityInfo<CarTypeTestTable> typeEntity = EntityInfo.load(CarTypeTestTable.class, 0, false, props, (t) -> CarTypeTestTable.createList());
|
||||||
|
|
||||||
final CarTestBean bean = new CarTestBean();
|
final CarTestBean bean = new CarTestBean();
|
||||||
bean.carid = 70002;
|
bean.carid = 70002;
|
||||||
|
|||||||
Reference in New Issue
Block a user