springboot2.0+mybatis主从数据库双数据源。

上传者: qingcheng157 | 上传时间: 2020-11-09 16:55:12 | 文件大小: 70KB | 文件类型: RAR
springboot2.0+mybatis主从数据库双数据源,测试了事务,事务是单独分开的。回滚只回滚主库的事务。

文件下载

资源详情

[{"title":"( 40 个子文件 70KB ) springboot2.0+mybatis主从数据库双数据源。","children":[{"title":"wfw-user","children":[{"title":".project <span style='color:#111;'> 560B </span>","children":null,"spread":false},{"title":"mvnw.cmd <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false},{"title":"HELP.md <span style='color:#111;'> 355B </span>","children":null,"spread":false},{"title":"mvnw <span style='color:#111;'> 8.90KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"wfwuser","children":[{"title":"WfwUserApplicationTests.java <span style='color:#111;'> 486B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"mapper","children":[{"title":"test1","children":[{"title":"UserMapper.xml <span style='color:#111;'> 954B </span>","children":null,"spread":false}],"spread":true},{"title":"test2","children":[{"title":"TestMapper.xml <span style='color:#111;'> 954B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"logback-spring.xml <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"templates","children":null,"spread":false},{"title":"static","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"wfwuser","children":[{"title":"service","children":[{"title":"TestService.java <span style='color:#111;'> 1.23KB </span>","children":null,"spread":false}],"spread":true},{"title":"WfwUserApplication.java <span style='color:#111;'> 306B </span>","children":null,"spread":false},{"title":"mapper","children":[{"title":"test1","children":[{"title":"UserMapper.java <span style='color:#111;'> 437B </span>","children":null,"spread":false}],"spread":false},{"title":"test2","children":[{"title":"TestMapper.java <span style='color:#111;'> 433B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"config","children":[{"title":"DataConfig1.java <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"DataConfig2.java <span style='color:#111;'> 2.01KB </span>","children":null,"spread":false}],"spread":false},{"title":"Main.java <span style='color:#111;'> 3.02KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"target","children":[{"title":"classes","children":[{"title":"application.properties <span style='color:#111;'> 1.29KB </span>","children":null,"spread":false},{"title":"mapper","children":[{"title":"test1","children":[{"title":"UserMapper.xml <span style='color:#111;'> 954B </span>","children":null,"spread":false}],"spread":true},{"title":"test2","children":[{"title":"TestMapper.xml <span style='color:#111;'> 954B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"com","children":[{"title":"wfwuser","children":[{"title":"service","children":[{"title":"TestService.class <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false}],"spread":true},{"title":"Main.class <span style='color:#111;'> 2.22KB </span>","children":null,"spread":false},{"title":"mapper","children":[{"title":"test1","children":[{"title":"UserMapper.class <span style='color:#111;'> 570B </span>","children":null,"spread":false}],"spread":false},{"title":"test2","children":[{"title":"TestMapper.class <span style='color:#111;'> 570B </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"config","children":[{"title":"DataConfig1.class <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"DataConfig2.class <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false}],"spread":false},{"title":"WfwUserApplication.class <span style='color:#111;'> 702B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 317B </span>","children":null,"spread":false},{"title":"maven","children":[{"title":"com","children":[{"title":"wfw-user","children":[{"title":"pom.properties <span style='color:#111;'> 228B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"logback-spring.xml <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false}],"spread":true},{"title":"test-classes","children":[{"title":"com","children":[{"title":"wfwuser","children":[{"title":"WfwUserApplicationTests.class <span style='color:#111;'> 825B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 90B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 214B </span>","children":null,"spread":false}],"spread":true},{"title":".mvn","children":[{"title":"wrapper","children":[{"title":"MavenWrapperDownloader.java <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"maven-wrapper.jar <span style='color:#111;'> 47.20KB </span>","children":null,"spread":false},{"title":"maven-wrapper.properties <span style='color:#111;'> 116B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 3.38KB </span>","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 303B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

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