( 14 个子文件 14KB ) spring-boot-sharding-jdbc.zip
spring-boot-sharding-jdbc
SpringBootShardingJdbcApplicationTests.java 242B
Database0Config.java 773B
Database1Config.java 773B
DataSourceConfig.java 2.73KB
GoodsController.java 1.92KB
TableShardingAlgorithm.java 1.75KB
DatabaseShardingAlgorithm.java 2.23KB
GoodsRepository.java 371B
SpringBootShardingJdbcApplication.java 359B
[{"title":"( 14 个子文件 14KB ) spring-boot-sharding-jdbc.zip","children":[{"title":"spring-boot-sharding-jdbc","children":[{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"springbootshardingjdbc","children":[{"title":"SpringBootShardingJdbcApplicationTests.java <span style='color:#111;'> 242B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"db","children":[{"title":"init.sql <span style='color:#111;'> 236B </span>","children":null,"spread":false}],"spread":true},{"title":"application.yml <span style='color:#111;'> 642B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"example","children":[{"title":"springbootshardingjdbc","children":[{"title":"database","children":[{"title":"Database0Config.java <span style='color:#111;'> 773B </span>","children":null,"spread":false},{"title":"Database1Config.java <span style='color:#111;'> 773B </span>","children":null,"spread":false},{"title":"DataSourceConfig.java <span style='color:#111;'> 2.73KB </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"GoodsController.java <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false}],"spread":true},{"title":"config","children":[{"title":"TableShardingAlgorithm.java <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"DatabaseShardingAlgorithm.java <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"entity","children":[{"title":"Goods.java <span style='color:#111;'> 229B </span>","children":null,"spread":false}],"spread":true},{"title":"repository","children":[{"title":"GoodsRepository.java <span style='color:#111;'> 371B </span>","children":null,"spread":false}],"spread":true},{"title":"SpringBootShardingJdbcApplication.java <span style='color:#111;'> 359B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 395B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]