Use sharding-jdbc to achieve read-write separation
1. The first step is to introduce the jar package
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-spring-boot-starter</artifactId
Use sharding-jdbc to achieve read-write separation
1. The first step is to introduce the jar package
<dependency>
<groupId>org.apache.shardingsphere</groupId>
<artifactId>sharding-jdbc-spring-boot-starter</artifactId