Spring-boot项目多数据源配置

上传者: markeliu | 上传时间: 2023-10-21 17:30:00 | 文件大小: 46KB | 文件类型: RAR
基于maven的spring-boot项目配置多数据源,基于xml配置文件配置多数据源

文件下载

资源详情

[{"title":"( 46 个子文件 46KB ) Spring-boot项目多数据源配置","children":[{"title":"DynamicDataSource","children":[{"title":".project <span style='color:#111;'> 569B </span>","children":null,"spread":false},{"title":"pom.xml <span style='color:#111;'> 1.93KB </span>","children":null,"spread":false},{"title":"target","children":[{"title":"generated-test-sources","children":[{"title":"test-annotations","children":null,"spread":false}],"spread":true},{"title":"test-classes","children":[{"title":"SpringDynamicDataSource","children":[{"title":"AppTest.class <span style='color:#111;'> 625B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"maven-archiver","children":[{"title":"pom.properties <span style='color:#111;'> 146B </span>","children":null,"spread":false}],"spread":true},{"title":"maven-status","children":[{"title":"maven-compiler-plugin","children":[{"title":"compile","children":[{"title":"default-compile","children":[{"title":"createdFiles.lst <span style='color:#111;'> 469B </span>","children":null,"spread":false},{"title":"inputFiles.lst <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"testCompile","children":[{"title":"default-testCompile","children":[{"title":"createdFiles.lst <span style='color:#111;'> 38B </span>","children":null,"spread":false},{"title":"inputFiles.lst <span style='color:#111;'> 82B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"DynamicDataSource-0.0.1-SNAPSHOT.jar <span style='color:#111;'> 15.74KB </span>","children":null,"spread":false},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"spring-mysql.xml <span style='color:#111;'> 6.34KB </span>","children":null,"spread":false},{"title":"com","children":[{"title":"huawei","children":[{"title":"dynamicdb","children":[{"title":"dao","children":[{"title":"TestDao.class <span style='color:#111;'> 1.31KB </span>","children":null,"spread":false}],"spread":false},{"title":"action","children":[{"title":"TestAction.class <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"Application.class <span style='color:#111;'> 901B </span>","children":null,"spread":false},{"title":"dynamicdbconfig","children":[{"title":"DynamicDataSource.class <span style='color:#111;'> 628B </span>","children":null,"spread":false},{"title":"DynamicDataSourceHolder.class <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"TargetDataSource.class <span style='color:#111;'> 512B </span>","children":null,"spread":false}],"spread":false},{"title":"aop","children":[{"title":"DynamicDataSourceAspect.class <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false}],"spread":false},{"title":"mapper","children":[{"title":"SzwbmMapper.class <span style='color:#111;'> 349B </span>","children":null,"spread":false},{"title":"ZwbmMapper.class <span style='color:#111;'> 346B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"jdbc.properties <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"mapper","children":[{"title":"YwxtMapper.xml <span style='color:#111;'> 914B </span>","children":null,"spread":false},{"title":"SzwbmMapper.xml <span style='color:#111;'> 9.48KB </span>","children":null,"spread":false}],"spread":false},{"title":"application.properties <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":true},{"title":"surefire-reports","children":[{"title":"TEST-SpringDynamicDataSource.AppTest.xml <span style='color:#111;'> 5.33KB </span>","children":null,"spread":false},{"title":"SpringDynamicDataSource.AppTest.txt <span style='color:#111;'> 312B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".settings","children":[{"title":"org.eclipse.core.resources.prefs <span style='color:#111;'> 155B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 243B </span>","children":null,"spread":false},{"title":"org.eclipse.m2e.core.prefs <span style='color:#111;'> 90B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"SpringDynamicDataSource","children":[{"title":"AppTest.java <span style='color:#111;'> 651B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"spring-mysql.xml <span style='color:#111;'> 6.34KB </span>","children":null,"spread":false},{"title":"jdbc.properties <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"mapper","children":[{"title":"YwxtMapper.xml <span style='color:#111;'> 914B </span>","children":null,"spread":false},{"title":"SzwbmMapper.xml <span style='color:#111;'> 9.48KB </span>","children":null,"spread":false}],"spread":true},{"title":"application.properties <span style='color:#111;'> 45B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"huawei","children":[{"title":"dynamicdb","children":[{"title":"dao","children":[{"title":"TestDao.java <span style='color:#111;'> 790B </span>","children":null,"spread":false}],"spread":true},{"title":"action","children":[{"title":"TestAction.java <span style='color:#111;'> 604B </span>","children":null,"spread":false}],"spread":false},{"title":"Application.java <span style='color:#111;'> 631B </span>","children":null,"spread":false},{"title":"dynamicdbconfig","children":[{"title":"TargetDataSource.java <span style='color:#111;'> 577B </span>","children":null,"spread":false},{"title":"DynamicDataSourceHolder.java <span style='color:#111;'> 626B </span>","children":null,"spread":false},{"title":"DynamicDataSource.java <span style='color:#111;'> 545B </span>","children":null,"spread":false}],"spread":false},{"title":"aop","children":[{"title":"DynamicDataSourceAspect.java <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false}],"spread":false},{"title":"mapper","children":[{"title":"ZwbmMapper.java <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"SzwbmMapper.java <span style='color:#111;'> 222B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"resource","children":[{"title":"mapper","children":[{"title":"SzwbmMapper.xml <span style='color:#111;'> 9.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"application.properties <span style='color:#111;'> 1.35KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

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