摘要: 配置多数据源,需要自己编写对应的DataSource等bean ,且多个数据源,必须设置默认数据库 1.配置默认数据库 (如果有mybatis xml配置文件,需要在 SqlSessionFactory 的 bean.setMapperLocations(new PathMatchingResour 阅读全文
posted @ 2020-10-23 15:53 BigWrite 阅读(765) 评论(0) 推荐(0) 编辑