springboot+Sharding-JDBC实现读写分离

技术选型SpringBoot+hikari+Sharding-JDBC+MyBatis使用Sharding-JDBC配置读写分离,优点在于数据源完全有Sharding托管,写操作自动执行master库,读操作自动执行slave库。不需要程序员在程序中关注这个实现了。核心jar包<depende

企鹅群:39438021

Your browser is out-of-date!

Update your browser to view this website correctly. Update my browser now

×