[{"title":"( 38 个子文件 45KB ) SpringBoot+JPA+JTA(可选)+JdbcTemplate多数据源配置源码","children":[{"title":"SpringBootMultiDataSource-main","children":[{"title":"pom.xml <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"nonjta-jpa","children":[{"title":"pom.xml <span style='color:#111;'> 1.62KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"application.yml <span style='color:#111;'> 39B </span>","children":null,"spread":false},{"title":"application-nonjta.yml <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"kyq","children":[{"title":"multids","children":[{"title":"config","children":[{"title":"SlaveDataSourceConfig.java <span style='color:#111;'> 3.08KB </span>","children":null,"spread":false},{"title":"MainDataSourceConfig.java <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false}],"spread":true},{"title":"MultiDsApplication.java <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"modules","children":[{"title":"index","children":[{"title":"controller","children":[{"title":"IndexController.java <span style='color:#111;'> 2.52KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"MultiDataSourceTestService.java <span style='color:#111;'> 990B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"MultiDataSourceTestServiceImpl.java <span style='color:#111;'> 7.01KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"slave","children":[{"title":"dict","children":[{"title":"repository","children":[{"title":"DictRepository.java <span style='color:#111;'> 457B </span>","children":null,"spread":false}],"spread":false},{"title":"domain","children":[{"title":"BaseDict.java <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"DictService.java <span style='color:#111;'> 454B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"DictServiceImpl.java <span style='color:#111;'> 1.91KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"main","children":[{"title":"user","children":[{"title":"repository","children":[{"title":"UserRepository.java <span style='color:#111;'> 454B </span>","children":null,"spread":false}],"spread":false},{"title":"domain","children":[{"title":"BaseUser.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"UserService.java <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"UserServiceImpl.java <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"jta-jpa","children":[{"title":"pom.xml <span style='color:#111;'> 1.78KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"application-jta.yml <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"application.yml <span style='color:#111;'> 38B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"kyq","children":[{"title":"multids","children":[{"title":"config","children":[{"title":"JtaTransactionManagerConfig.java <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"SlaveDataSourceConfig.java <span style='color:#111;'> 3.06KB </span>","children":null,"spread":false},{"title":"MainDataSourceConfig.java <span style='color:#111;'> 3.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"MultiDsApplication.java <span style='color:#111;'> 430B </span>","children":null,"spread":false},{"title":"modules","children":[{"title":"index","children":[{"title":"controller","children":[{"title":"IndexController.java <span style='color:#111;'> 2.21KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"MultiDataSourceTestService.java <span style='color:#111;'> 783B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"MultiDataSourceTestServiceImpl.java <span style='color:#111;'> 3.66KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"slave","children":[{"title":"dict","children":[{"title":"repository","children":[{"title":"DictRepository.java <span style='color:#111;'> 457B </span>","children":null,"spread":false}],"spread":false},{"title":"domain","children":[{"title":"BaseDict.java <span style='color:#111;'> 1.97KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"DictService.java <span style='color:#111;'> 454B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"DictServiceImpl.java <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"main","children":[{"title":"user","children":[{"title":"repository","children":[{"title":"UserRepository.java <span style='color:#111;'> 454B </span>","children":null,"spread":false}],"spread":false},{"title":"domain","children":[{"title":"BaseUser.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":false},{"title":"service","children":[{"title":"UserService.java <span style='color:#111;'> 370B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"UserServiceImpl.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".gitignore <span style='color:#111;'> 572B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]