《MyBatis 从入门到精通》源代码

上传者: u2b4c6 | 上传时间: 2021-04-30 21:19:38 | 文件大小: 2.36MB | 文件类型: ZIP
电子工业出版社的《MyBatis 从入门到精通》的源代码。本书中从一个简单的 MyBatis 查询入手,搭建起学习 MyBatis 的基础开发环境。通过全面的示例代码和测试讲解了在 MyBatis XML 方式和注解方式中进行增、删、改、查操作的基本用法,介绍了动态 SQL 在不同方面的应用以及在使用过程中的最佳实践方案。针对 MyBatis 高级映射、存储过程和类型处理器提供了丰富的示例,通过自下而上的方法使读者更好地理解和掌握MyBatis 的高级用法,同时针对 MyBatis 的代码生成器提供了详细的配置介绍。此外,本书还提供了缓存配置、插件开发、Spring、Spring Boot 集成的详细内容。最后通过介绍 Git 和 GitHub 让读者了解MyBatis 开源项目,通过对 MyBatis 源码和测试用例的讲解让读者更好掌握 MyBatis。

文件下载

资源详情

[{"title":"( 99 个子文件 2.36MB ) 《MyBatis 从入门到精通》源代码","children":[{"title":"book-master","children":[{"title":"mybatis-spring","children":[{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"applicationContext.xml <span style='color:#111;'> 2.63KB </span>","children":null,"spread":false},{"title":"log4j.properties <span style='color:#111;'> 304B </span>","children":null,"spread":false},{"title":"tk","children":[{"title":"mybatis","children":[{"title":"web","children":[{"title":"mapper","children":[{"title":"DictMapper.xml <span style='color:#111;'> 1016B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"mybatis-servlet.xml <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"mybatis-config.xml <span style='color:#111;'> 455B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"tk","children":[{"title":"mybatis","children":[{"title":"web","children":[{"title":"controller","children":[{"title":"DictController.java <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"IndexController.java <span style='color:#111;'> 494B </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"SysDict.java <span style='color:#111;'> 763B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"impl","children":[{"title":"DictServiceImpl.java <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false}],"spread":true},{"title":"DictService.java <span style='color:#111;'> 345B </span>","children":null,"spread":false}],"spread":true},{"title":"mapper","children":[{"title":"DictMapper.java <span style='color:#111;'> 815B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"webapp","children":[{"title":"static","children":[{"title":"jquery-3.1.1.min.js <span style='color:#111;'> 84.68KB </span>","children":null,"spread":false}],"spread":true},{"title":"WEB-INF","children":[{"title":"jsp","children":[{"title":"dict_add.jsp <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"index.jsp <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"dicts.jsp <span style='color:#111;'> 1.83KB </span>","children":null,"spread":false}],"spread":true},{"title":"web.xml <span style='color:#111;'> 1.67KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 5.06KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 56B </span>","children":null,"spread":false}],"spread":true},{"title":"mybatis-spring-boot","children":[{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"application.properties <span style='color:#111;'> 429B </span>","children":null,"spread":false},{"title":"mapper","children":[{"title":"CountryMapper.xml <span style='color:#111;'> 326B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"java","children":[{"title":"tk","children":[{"title":"mybatis","children":[{"title":"springboot","children":[{"title":"MapperNameGenerator.java <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false},{"title":"controller","children":[{"title":"UserController.java <span style='color:#111;'> 707B </span>","children":null,"spread":false},{"title":"IndexController.java <span style='color:#111;'> 287B </span>","children":null,"spread":false}],"spread":true},{"title":"model","children":[{"title":"Country.java <span style='color:#111;'> 526B </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"UserService.java <span style='color:#111;'> 314B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"UserServiceImpl.java <span style='color:#111;'> 597B </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"mapper","children":[{"title":"CountryMapper.java <span style='color:#111;'> 275B </span>","children":null,"spread":false}],"spread":false},{"title":"Application.java <span style='color:#111;'> 864B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 66B </span>","children":null,"spread":false}],"spread":true},{"title":"资源说明.md <span style='color:#111;'> 777B </span>","children":null,"spread":false},{"title":"数据库结构.sql <span style='color:#111;'> 5.87KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 22.12KB </span>","children":null,"spread":false},{"title":"weixin.jpg <span style='color:#111;'> 8.40KB </span>","children":null,"spread":false},{"title":"simple-all","children":[{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"ehcache.xml <span style='color:#111;'> 813B </span>","children":null,"spread":false},{"title":"log4j.properties <span style='color:#111;'> 358B </span>","children":null,"spread":false},{"title":"redis.properties <span style='color:#111;'> 100B </span>","children":null,"spread":false},{"title":"tk","children":[{"title":"mybatis","children":[{"title":"simple","children":[{"title":"mapper","children":[{"title":"UserRoleMapper.xml <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"PrivilegeMapper.xml <span style='color:#111;'> 672B </span>","children":null,"spread":false},{"title":"RoleMapper.xml <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false},{"title":"RolePrivilegeMapper.xml <span style='color:#111;'> 232B </span>","children":null,"spread":false},{"title":"UserMapper.xml <span style='color:#111;'> 12.69KB </span>","children":null,"spread":false},{"title":"CountryMapper.xml <span style='color:#111;'> 8.15KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"mybatis-config.xml <span style='color:#111;'> 1.58KB </span>","children":null,"spread":false},{"title":"generator","children":[{"title":"generatorConfig.xml <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"generatorConfig-country.xml <span style='color:#111;'> 1.46KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"java","children":[{"title":"tk","children":[{"title":"mybatis","children":[{"title":"util","children":[{"title":"StringUtil.java <span style='color:#111;'> 307B </span>","children":null,"spread":false}],"spread":false},{"title":"simple","children":[{"title":"provider","children":[{"title":"PrivilegeProvider.java <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false}],"spread":false},{"title":"model","children":[{"title":"SysRolePrivilege.java <span style='color:#111;'> 455B </span>","children":null,"spread":false},{"title":"SysRole.java <span style='color:#111;'> 1.74KB </span>","children":null,"spread":false},{"title":"BaseEntity.java <span style='color:#111;'> 171B </span>","children":null,"spread":false},{"title":"SysPrivilege.java <span style='color:#111;'> 765B </span>","children":null,"spread":false},{"title":"CreateInfo.java <span style='color:#111;'> 608B </span>","children":null,"spread":false},{"title":"SysRoleExtend.java <span style='color:#111;'> 238B </span>","children":null,"spread":false},{"title":"SysUserRole.java <span style='color:#111;'> 415B </span>","children":null,"spread":false},{"title":"SysUser.java <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"Country.java <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"CountryExample.java <span style='color:#111;'> 14.37KB </span>","children":null,"spread":false}],"spread":false},{"title":"JavaApiConfig.java <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":"MyMapperProxy.java <span style='color:#111;'> 902B </span>","children":null,"spread":false},{"title":"mapper","children":[{"title":"RoleMapper.java <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"CountryMapper.java <span style='color:#111;'> 2.40KB </span>","children":null,"spread":false},{"title":"UserMapper.java <span style='color:#111;'> 3.74KB </span>","children":null,"spread":false},{"title":"PrivilegeMapper.java <span style='color:#111;'> 1.77KB </span>","children":null,"spread":false},{"title":"UserRoleMapper.java <span style='color:#111;'> 72B </span>","children":null,"spread":false},{"title":"RolePrivilegeMapper.java <span style='color:#111;'> 77B </span>","children":null,"spread":false}],"spread":false},{"title":"plugin","children":[{"title":"MySqlDialect.java <span style='color:#111;'> 2.08KB </span>","children":null,"spread":false},{"title":"CameHumpInterceptor.java <span style='color:#111;'> 2.75KB </span>","children":null,"spread":false},{"title":"Dialect.java <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"ResultSetInterceptor.java <span style='color:#111;'> 4.53KB </span>","children":null,"spread":false},{"title":"PageRowBounds.java <span style='color:#111;'> 440B </span>","children":null,"spread":false},{"title":"PageInterceptor.java <span style='color:#111;'> 8.04KB </span>","children":null,"spread":false}],"spread":false},{"title":"MybatisHelper.java <span style='color:#111;'> 824B </span>","children":null,"spread":false},{"title":"type","children":[{"title":"Enabled.java <span style='color:#111;'> 230B </span>","children":null,"spread":false},{"title":"EnabledTypeHandler.java <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false}],"spread":false}],"spread":false},{"title":"generator","children":[{"title":"Generator.java <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"MyCommentGenerator.java <span style='color:#111;'> 2.42KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"tk","children":[{"title":"mybatis","children":[{"title":"simple","children":[{"title":"SimpleMapper.java <span style='color:#111;'> 191B </span>","children":null,"spread":false},{"title":"SimpleTest.java <span style='color:#111;'> 6.83KB </span>","children":null,"spread":false},{"title":"mapper","children":[{"title":"PrivilegeMapperTest.java <span style='color:#111;'> 4.02KB </span>","children":null,"spread":false},{"title":"CacheTest.java <span style='color:#111;'> 4.98KB </span>","children":null,"spread":false},{"title":"BaseMapperTest.java <span style='color:#111;'> 836B </span>","children":null,"spread":false},{"title":"CountryMapperTest.java <span style='color:#111;'> 4.33KB </span>","children":null,"spread":false},{"title":"UserMapperTest.java <span style='color:#111;'> 17.73KB </span>","children":null,"spread":false},{"title":"RoleMapperTest.java <span style='color:#111;'> 5.35KB </span>","children":null,"spread":false}],"spread":false},{"title":"SimpleInterceptor.java <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 2.74KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 284B </span>","children":null,"spread":false}],"spread":true},{"title":"存储过程.sql <span style='color:#111;'> 2.27KB </span>","children":null,"spread":false},{"title":"simple-start","children":[{"title":"src","children":[{"title":"main","children":[{"title":"resources","children":[{"title":"log4j.properties <span style='color:#111;'> 358B </span>","children":null,"spread":false},{"title":"tk","children":[{"title":"mybatis","children":[{"title":"simple","children":[{"title":"mapper","children":[{"title":"CountryMapper.xml <span style='color:#111;'> 330B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false},{"title":"mybatis-config.xml <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"tk","children":[{"title":"mybatis","children":[{"title":"simple","children":[{"title":"model","children":[{"title":"Country.java <span style='color:#111;'> 522B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true},{"title":"test","children":[{"title":"java","children":[{"title":"tk","children":[{"title":"mybatis","children":[{"title":"simple","children":[{"title":"mapper","children":[{"title":"CountryMapperTest.java <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"pom.xml <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 86B </span>","children":null,"spread":false}],"spread":true},{"title":"book.png <span style='color:#111;'> 118.04KB </span>","children":null,"spread":false},{"title":"MyBatis 从入门到精通-目录.pdf <span style='color:#111;'> 2.14MB </span>","children":null,"spread":false},{"title":"数据库备份.psc <span style='color:#111;'> 2.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • 小雨滴Java :
    的确是源码,不错
    2020-03-24

免责申明

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