摘要: 多数据源,很多项目都用得到,比较实用。在 DEMO: springboot 与 freemarker 集成 基础上进行修改。 修改后的项目结构大致这样: 1、src/main/resources/application.properties 中配置好多个数据源 datasource.jdbc.dri 阅读全文
posted @ 2017-06-14 15:50 蛋尼 阅读(29260) 评论(5) 推荐(0)
摘要: springboot mybatis配置多数据源的时候,报错:There is a circular dependency between 7 beans in the application context: xxx 经查,这是mybatis-spring的bug,延迟加载问题:https://g 阅读全文
posted @ 2017-06-14 14:51 蛋尼 阅读(711) 评论(0) 推荐(0)