shardingsphere,shardingjdbc按年月时间分库,定时创建库表
不使用Spring
引入Maven依赖
<dependency>
<groupId>org.apache.shardingsphere</groupId> <artifactId>sharding-jdbc-core</artifactId> <version>${sharding-sphere.version}</version> </dependency>
今天写不完了
不使用Spring
引入Maven依赖
<dependency>
<groupId>org.apache.shardingsphere</groupId> <artifactId>sharding-jdbc-core</artifactId> <version>${sharding-sphere.version}</version> </dependency>
不使用Spring
引入Maven依赖
<dependency>
<groupId>org.apache.shardingsphere</groupId> <artifactId>sharding-jdbc-core</artifactId> <version>${sharding-sphere.version}</version> </dependency>