ameizi / sharding-jdbc-sample
Licence: other
基于当当Sharding-JDBC数据库分库分表访问示例程序
Programming Languages
java 68154 projects - #9 most used programming language
Projects that are alternatives of or similar to sharding-jdbc-sample
Blog每周一篇,内容精简,不咸不淡,期盼探讨。微信公众号:芋道源码【纯源码分享公众号】
Stars: ✭ 2,327 (+4958.7%)
Mutual labels: sharding-jdbc
smart-cloud基于springboot && springcloud的脚手架,支持服务合并部署与拆分部署、接口加解密签名、日志数据 脱敏、接口数据mock、接口文档自动生成、请求幂等校验、接口日志&&sql日志切面打印、分表分库分布式事务、国际化语言等
Stars: ✭ 167 (+263.04%)
Mutual labels: sharding-jdbc
compose-pay🔱 HA distributed payment gateway. 高可用分布式支付网关/支付前置/支付系统/微信/支付宝
Stars: ✭ 21 (-54.35%)
Mutual labels: sharding-jdbc
Sharding-JDBC 数据库分库分表访问。
步骤:
-
mysql里创建3个数据库,每个库里建二个表(sql脚本参考src/main/sql/init.sql)
-
修改src/main/resources/properties/jdbc.properties中的连接串
-
运行src/main/java/nei/aimeizi/Application.java
详情参考sharding-jdbc-example示例
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at
[email protected].