也不知道是哪里写的有问题
public static final UserBean dao = new UserBean().dao();
activeRecordPlugin.addMapping("user_info","uid",UserBean.class);
项目:JFinal
也不知道是哪里写的有问题
public static final UserBean dao = new UserBean().dao();
activeRecordPlugin.addMapping("user_info","uid",UserBean.class);
"jdbc:mysql://localhost:3306/erp?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull",
"root",
"1234");
plugins.add(druidPlugin);
ActiveRecordPlugin activeRecordPlugin = new ActiveRecordPlugin(druidPlugin);
activeRecordPlugin.addMapping("user_info","uid",UserBean.class);