本书中从一个简单的MyBatis 查询入手,搭建起学习MyBatis 的基础开发环境。通过全面的示例代码和测试讲解了在MyBatis XML 方式和注解方式中进行增、删、改、查操作的基本用法,介绍了动态SQL在不同方面的应用以及在使用过程中的最佳实践方案。针对MyBatis 高级映射、存储过程和类型处理器提供了丰富的示例,通过自下而上的方法使读者更好地理解和掌握MyBatis 的高级用法,同时针对MyBatis的代码生成器提供了详细的配置介绍。此外,本书还提供了缓存配置、插件开发、Spring、Spring Boot 集成的详细内容。最后通过介绍Git 和GitHub 让读者了解MyBatis 开源项目,通过对MyBatis 源码和测试用例的讲解让读者更好掌握MyBatis。
This book starts with a simple MyBatis query and builds the basic development environment for learning MyBatis. Through the comprehensive sample code and test to explain in the MyBatis XML way and annotation way to insert, delete, update and select operation. Introduces the MyBatis dynamic SQL in different aspects and the best practices in the use of the program. For the MyBatis advanced mapping, stored procedures and typehandler provides a rich example, through the bottom-up approach to enable readers to better understand and master the advanced usage of MyBatis, and for MyBatis code generator provides a detailed configuration introduced in Chinese. In addition, the book also provides cache configuration, plug-in development, Spring, Spring Boot integration details. Finally, by introducing Git and GitHub to let readers know MyBatis open source project, through MyBatis source code and test cases to give readers a better grasp of MyBatis.
The book contains the following chapters.
- MyBatis Quick Start
- The basic usage of MyBatis XML
- The basic usage of the MyBatis annotation
- MyBatis Dynamic SQL
- Mybatis Generator
- MyBatis Advanced Query
- MyBatis cache configuration
- MyBatis plugin development
- Spring integrates MyBatis
- Spring Boot integrates MyBatis
- MyBatis open source project
More details at:
No comments:
Post a Comment