mirror of
https://github.com/JeffLi1993/springboot-learning-example.git
synced 2026-03-13 21:43:45 +08:00
Spring Boot 整合 Mybatis 实现 Druid 多数据源配置
This commit is contained in:
@@ -43,13 +43,6 @@
|
||||
<version>${mybatis-spring-boot}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Druid 数据连接池依赖 -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>druid</artifactId>
|
||||
<version>${druid}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- MySQL 连接驱动依赖 -->
|
||||
<dependency>
|
||||
<groupId>mysql</groupId>
|
||||
@@ -57,6 +50,13 @@
|
||||
<version>${mysql-connector}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Druid 数据连接池依赖 -->
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>druid</artifactId>
|
||||
<version>${druid}</version>
|
||||
</dependency>
|
||||
|
||||
<!-- Junit -->
|
||||
<dependency>
|
||||
<groupId>junit</groupId>
|
||||
|
||||
Reference in New Issue
Block a user