72

Spring Boot 集成Mybatis实现主从(多数据源)分离方案-java架构师1的博客

 5 years ago
source link: http://blog.51cto.com/13981400/2323314
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
新建一个Maven项目,最终项目结构如下:多数据源注入到sqlSessionFactoryPOM增加如下依赖:<!--JSON--><dependency><groupId>com.fasterxml.jackson.core</groupId><artifactId>jackson-core</artifactId><

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK