springmvc+mybatis多数据源,aop动态切换

上传者: xiaosheng_papa | 上传时间: 2021-04-21 11:05:32 | 文件大小: 11.42MB | 文件类型: RAR
springmvc+mybatis结合,多数据源配置,并实现注解aop动态切换,可实现数据库读写分离,maven结构。

文件下载

资源详情

[{"title":"( 99 个子文件 11.42MB ) springmvc+mybatis多数据源,aop动态切换","children":[{"title":"ss1","children":[{"title":"src","children":[{"title":"test","children":[{"title":"java","children":null,"spread":false}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"mapper","children":[{"title":"UserDao.xml <span style='color:#111;'> 353B </span>","children":null,"spread":false}],"spread":true},{"title":"spring-mvc.xml <span style='color:#111;'> 7.92KB </span>","children":null,"spread":false},{"title":"mybatis-config.xml <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":"db.properties <span style='color:#111;'> 923B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"ss","children":[{"title":"service","children":[{"title":"UserService.java <span style='color:#111;'> 667B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"UserController.java <span style='color:#111;'> 963B </span>","children":null,"spread":false}],"spread":true},{"title":"dao","children":[{"title":"UserDao.java <span style='color:#111;'> 330B </span>","children":null,"spread":false}],"spread":true},{"title":"config","children":[{"title":"DS.java <span style='color:#111;'> 241B </span>","children":null,"spread":false},{"title":"DynamicDataSource.java <span style='color:#111;'> 492B </span>","children":null,"spread":false},{"title":"DataSourceContextHolder.java <span style='color:#111;'> 845B </span>","children":null,"spread":false},{"title":"DynamicDataSourceAspect.java <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"target","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 99B </span>","children":null,"spread":false},{"title":"generated-sources","children":[{"title":"annotations","children":null,"spread":false}],"spread":true},{"title":"classes","children":[{"title":"mapper","children":[{"title":"UserDao.xml <span style='color:#111;'> 353B </span>","children":null,"spread":false}],"spread":true},{"title":"com","children":[{"title":"ss","children":[{"title":"service","children":[{"title":"UserService.class <span style='color:#111;'> 878B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"UserController.class <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"dao","children":[{"title":"UserDao.class <span style='color:#111;'> 287B </span>","children":null,"spread":false}],"spread":true},{"title":"config","children":[{"title":"DynamicDataSource.class <span style='color:#111;'> 963B </span>","children":null,"spread":false},{"title":"DataSourceContextHolder.class <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"DynamicDataSourceAspect.class <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"DS.class <span style='color:#111;'> 485B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"spring-mvc.xml <span style='color:#111;'> 7.92KB </span>","children":null,"spread":false},{"title":"mybatis-config.xml <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":"db.properties <span style='color:#111;'> 923B </span>","children":null,"spread":false}],"spread":true},{"title":"ss1-1.0-SNAPSHOT","children":[{"title":"WEB-INF","children":[{"title":"classes","children":[{"title":"mapper","children":[{"title":"UserDao.xml <span style='color:#111;'> 353B </span>","children":null,"spread":false}],"spread":true},{"title":"com","children":[{"title":"ss","children":[{"title":"service","children":[{"title":"UserService.class <span style='color:#111;'> 878B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"UserController.class <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false}],"spread":true},{"title":"dao","children":[{"title":"UserDao.class <span style='color:#111;'> 287B </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"DynamicDataSource.class <span style='color:#111;'> 963B </span>","children":null,"spread":false},{"title":"DataSourceContextHolder.class <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"DynamicDataSourceAspect.class <span style='color:#111;'> 2.06KB </span>","children":null,"spread":false},{"title":"DS.class <span style='color:#111;'> 485B </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"spring-mvc.xml <span style='color:#111;'> 7.92KB </span>","children":null,"spread":false},{"title":"mybatis-config.xml <span style='color:#111;'> 3.37KB </span>","children":null,"spread":false},{"title":"db.properties <span style='color:#111;'> 923B </span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"gson-2.6.2.jar <span style='color:#111;'> 224.27KB </span>","children":null,"spread":false},{"title":"spring-core-4.3.9.RELEASE.jar <span style='color:#111;'> 1.07MB </span>","children":null,"spread":false},{"title":"spring-orm-4.3.9.RELEASE.jar <span style='color:#111;'> 465.71KB </span>","children":null,"spread":false},{"title":"aspectjrt-1.8.10.jar <span style='color:#111;'> 115.98KB </span>","children":null,"spread":false},{"title":"spring-context-support-4.3.9.RELEASE.jar <span style='color:#111;'> 182.73KB </span>","children":null,"spread":false},{"title":"spring-beans-4.3.9.RELEASE.jar <span style='color:#111;'> 745.17KB </span>","children":null,"spread":false},{"title":"jstl-1.2.jar <span style='color:#111;'> 404.53KB </span>","children":null,"spread":false},{"title":"spring-tx-4.3.9.RELEASE.jar <span style='color:#111;'> 260.85KB </span>","children":null,"spread":false},{"title":"jsp-api-2.2.jar <span style='color:#111;'> 48.59KB </span>","children":null,"spread":false},{"title":"standard-1.1.2.jar <span style='color:#111;'> 384.04KB </span>","children":null,"spread":false},{"title":"commons-dbcp-1.4.jar <span style='color:#111;'> 156.76KB </span>","children":null,"spread":false},{"title":"spring-aop-4.3.9.RELEASE.jar <span style='color:#111;'> 371.65KB </span>","children":null,"spread":false},{"title":"spring-context-4.3.9.RELEASE.jar <span style='color:#111;'> 1.09MB </span>","children":null,"spread":false},{"title":"mybatis-spring-1.3.1.jar <span style='color:#111;'> 52.06KB </span>","children":null,"spread":false},{"title":"log4j-1.2.17.jar <span style='color:#111;'> 478.40KB </span>","children":null,"spread":false},{"title":"commons-pool-1.5.4.jar <span style='color:#111;'> 93.97KB </span>","children":null,"spread":false},{"title":"spring-expression-4.3.9.RELEASE.jar <span style='color:#111;'> 257.12KB </span>","children":null,"spread":false},{"title":"mybatis-3.4.4.jar <span style='color:#111;'> 1.53MB </span>","children":null,"spread":false},{"title":"aspectjweaver-1.8.10.jar <span style='color:#111;'> 1.84MB </span>","children":null,"spread":false},{"title":"spring-web-4.3.9.RELEASE.jar <span style='color:#111;'> 800.64KB </span>","children":null,"spread":false},{"title":"commons-logging-1.2.jar <span style='color:#111;'> 60.38KB </span>","children":null,"spread":false},{"title":"mysql-connector-java-5.1.42.jar <span style='color:#111;'> 973.09KB </span>","children":null,"spread":false},{"title":"spring-jdbc-4.3.9.RELEASE.jar <span style='color:#111;'> 417.73KB </span>","children":null,"spread":false},{"title":"spring-webmvc-4.3.9.RELEASE.jar <span style='color:#111;'> 894.02KB </span>","children":null,"spread":false}],"spread":false},{"title":"web.xml <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false}],"spread":true},{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 99B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"ss1.iml <span style='color:#111;'> 3.89KB </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"artifacts","children":[{"title":"ss1_war.xml <span style='color:#111;'> 288B </span>","children":null,"spread":false},{"title":"ss1_war_exploded.xml <span style='color:#111;'> 3.10KB </span>","children":null,"spread":false}],"spread":true},{"title":"libraries","children":[{"title":"Maven__log4j_log4j_1_2_17.xml <span style='color:#111;'> 469B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_aop_4_3_9_RELEASE.xml <span style='color:#111;'> 609B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_webmvc_4_3_9_RELEASE.xml <span style='color:#111;'> 630B </span>","children":null,"spread":false},{"title":"Maven__org_aspectj_aspectjweaver_1_8_10.xml <span style='color:#111;'> 549B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_context_4_3_9_RELEASE.xml <span style='color:#111;'> 637B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_core_4_3_9_RELEASE.xml <span style='color:#111;'> 616B </span>","children":null,"spread":false},{"title":"Maven__org_aspectj_aspectjrt_1_8_10.xml <span style='color:#111;'> 521B </span>","children":null,"spread":false},{"title":"Maven__taglibs_standard_1_1_2.xml <span style='color:#111;'> 491B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_context_support_4_3_9_RELEASE.xml <span style='color:#111;'> 693B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_orm_4_3_9_RELEASE.xml <span style='color:#111;'> 609B </span>","children":null,"spread":false},{"title":"Maven__mysql_mysql_connector_java_5_1_42.xml <span style='color:#111;'> 574B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_jdbc_4_3_9_RELEASE.xml <span style='color:#111;'> 616B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_web_4_3_9_RELEASE.xml <span style='color:#111;'> 609B </span>","children":null,"spread":false},{"title":"Maven__commons_logging_commons_logging_1_2.xml <span style='color:#111;'> 558B </span>","children":null,"spread":false},{"title":"Maven__commons_pool_commons_pool_1_5_4.xml <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"Maven__org_mybatis_mybatis_3_4_4.xml <span style='color:#111;'> 500B </span>","children":null,"spread":false},{"title":"Maven__commons_dbcp_commons_dbcp_1_4.xml <span style='color:#111;'> 525B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_expression_4_3_9_RELEASE.xml <span style='color:#111;'> 658B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_beans_4_3_9_RELEASE.xml <span style='color:#111;'> 623B </span>","children":null,"spread":false},{"title":"Maven__com_google_code_gson_gson_2_6_2.xml <span style='color:#111;'> 515B </span>","children":null,"spread":false},{"title":"Maven__javax_servlet_jsp_jsp_api_2_2.xml <span style='color:#111;'> 510B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_test_4_3_9_RELEASE.xml <span style='color:#111;'> 616B </span>","children":null,"spread":false},{"title":"Maven__org_mybatis_mybatis_spring_1_3_1.xml <span style='color:#111;'> 549B </span>","children":null,"spread":false},{"title":"Maven__org_springframework_spring_tx_4_3_9_RELEASE.xml <span style='color:#111;'> 602B </span>","children":null,"spread":false},{"title":"Maven__javax_servlet_jstl_1_2.xml <span style='color:#111;'> 473B </span>","children":null,"spread":false}],"spread":false},{"title":"misc.xml <span style='color:#111;'> 771B </span>","children":null,"spread":false},{"title":"compiler.xml <span style='color:#111;'> 1.18KB </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 56.29KB </span>","children":null,"spread":false},{"title":".name <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"encodings.xml <span style='color:#111;'> 658B </span>","children":null,"spread":false},{"title":"modules.xml <span style='color:#111;'> 246B </span>","children":null,"spread":false},{"title":"scopes","children":[{"title":"scope_settings.xml <span style='color:#111;'> 143B </span>","children":null,"spread":false}],"spread":true},{"title":"copyright","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 76B </span>","children":null,"spread":false}],"spread":true},{"title":"vcs.xml <span style='color:#111;'> 164B </span>","children":null,"spread":false}],"spread":false},{"title":"web","children":[{"title":"WEB-INF","children":[{"title":"views","children":null,"spread":false},{"title":"web.xml <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 4.90KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • CUMTLg :
    可以的,666
    2019-06-09

免责申明

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