首页 > 数据库技术 > 详细

shardingsphere,shardingjdbc按年月时间分库,定时创建库表

时间:2020-12-26 10:17:00      阅读:176      评论:0      收藏:0      [点我收藏+]

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>

shardingsphere,shardingjdbc按年月时间分库,定时创建库表

原文:https://www.cnblogs.com/liran123/p/14191240.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!