SpringBoot整合多数据源,并实现本地分布式事务

上传者: 18537055 | 上传时间: 2021-08-04 18:13:55 | 文件大小: 67KB | 文件类型: ZIP
SpringBoot整合多数据源,并实现本地分布式事务。实现读写分离。

文件下载

资源详情

[{"title":"( 29 个子文件 67KB ) SpringBoot整合多数据源,并实现本地分布式事务","children":[{"title":"SpringBootAtomikos","children":[{"title":"mvnw.cmd <span style='color:#111;'> 4.88KB </span>","children":null,"spread":false},{"title":"mvnw <span style='color:#111;'> 6.32KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"xin","children":[{"title":"dream","children":[{"title":"sql","children":[{"title":"user.sql <span style='color:#111;'> 922B </span>","children":null,"spread":false}],"spread":true},{"title":"DreamApplicationTests.java <span style='color:#111;'> 329B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"mybatis","children":[{"title":"mybatis-config.xml <span style='color:#111;'> 685B </span>","children":null,"spread":false}],"spread":true},{"title":"application.yml <span style='color:#111;'> 610B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"xin","children":[{"title":"dream","children":[{"title":"two","children":[{"title":"mapper","children":[{"title":"UserMapper.xml <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false}],"spread":true},{"title":"dao","children":[{"title":"TwoUserMapper.java <span style='color:#111;'> 353B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"service","children":[{"title":"impl","children":[{"title":"UserServiceImpl.java <span style='color:#111;'> 1010B </span>","children":null,"spread":false}],"spread":true},{"title":"UserService.java <span style='color:#111;'> 147B </span>","children":null,"spread":false}],"spread":true},{"title":"pojo","children":[{"title":"User.java <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"Record.java <span style='color:#111;'> 3.18KB </span>","children":null,"spread":false},{"title":"AppPage.java <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"AppDataJsonModel.java <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":false},{"title":"controller","children":[{"title":"UserController.java <span style='color:#111;'> 621B </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"TwoDataSourceProperties.java <span style='color:#111;'> 437B </span>","children":null,"spread":false},{"title":"OneDataSourceProperties.java <span style='color:#111;'> 437B </span>","children":null,"spread":false},{"title":"TwoDatabaseConfig.java <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false},{"title":"OneDatabaseConfig.java <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false}],"spread":false},{"title":"rewrite","children":[{"title":"DynamicDataSource.java <span style='color:#111;'> 434B </span>","children":null,"spread":false},{"title":"DataSourceContextHolder.java <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false}],"spread":false},{"title":"one","children":[{"title":"mapper","children":[{"title":"UserMapper.xml <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false}],"spread":false},{"title":"dao","children":[{"title":"OneUserMapper.java <span style='color:#111;'> 353B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"DreamApplication.java <span style='color:#111;'> 506B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".mvn","children":[{"title":"wrapper","children":[{"title":"maven-wrapper.jar <span style='color:#111;'> 46.49KB </span>","children":null,"spread":false},{"title":"maven-wrapper.properties <span style='color:#111;'> 110B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 83B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 249B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明