public void afterJFinalStart() {
List<DataSourceDTO> dsList = DataSourceDTO.dao.find(" select * from wx_datasource");
for(DataSourceDTO ds : dsList){
com.jfinal.plugin.activerecord.Config c = new com.jfinal.plugin.activerecord.Config(ds.getStr("id"),DbAccess.getDataSource(ds),getDialect(ds.getStr("driver")));
DbKit.addConfig(c);
}
}