Skip to content

源码环境搭建

jdxia edited this page Jul 3, 2024 · 2 revisions

编译运行

直接maven编译就行, demo的代码和配置文件在

org.apache.shardingsphere.driver.study.StudyShardingSphereTest
这个文件对应的test是在 jdbc/src/test/resources/config/study/sharding-local.yaml

他本质是jdbc驱动, 不需要什么springboot, spring这些

资料

拉钩教育的 https://learn.lianglianglee.com/%e4%b8%93%e6%a0%8f/ShardingSphere%20%e6%a0%b8%e5%bf%83%e5%8e%9f%e7%90%86%e7%b2%be%e8%ae%b2-%e5%ae%8c/00%20%e5%a6%82%e4%bd%95%e6%ad%a3%e7%a1%ae%e5%ad%a6%e4%b9%a0%e4%b8%80%e6%ac%be%e5%88%86%e5%ba%93%e5%88%86%e8%a1%a8%e5%bc%80%e6%ba%90%e6%a1%86%e6%9e%b6%ef%bc%9f.md

csdn的一个教程: https://blog.csdn.net/qq_43437874/category_12573764.html

官方博客: https://shardingsphere.apache.org/blog/cn/material/oct_12_1_shardingspheres_metadata_loading_process/

Clone this wiki locally