# Mybatis-Spring **Repository Path**: zhangkt/Mybatis-Spring ## Basic Information - **Project Name**: Mybatis-Spring - **Description**: 这是一个集成了Mybatis分页插件和通用Mapper的示例项目 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-02-21 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README #SSM集成的基础项目,项目使用Maven管理 #MyBatis3.3.0 #Spring[MVC]4.1.2.RELEASE 项目使用Spring4.1.2.RELEASE + SpringMVC4.1.2.RELEASE + Mybatis3.3.0 项目集成了Mybatis分页插件和通用Mapper插件 项目使用的mysql数据库,根据需要可以切换为其他数据库 集成分页插件 5.0.0 版本,注意配置变化: ```xml classpath:mapper/*.xml helperDialect=mysql reasonable=true supportMethodsArguments=true params=count=countSql autoRuntimeDialect=true ``` - 拦截器 `com.github.pagehelper.PageInterceptor` - 原来的 `dialect` 变成了 `helperDialect`,这是基于 PageHelper 方式的分页 - 具体变化看文档 ##Spring Boot集成MyBatis的基础项目 ###https://github.com/abel533/MyBatis-Spring-Boot ##MyBatis工具 ###http://www.mybatis.tk ##推荐使用Mybatis通用Mapper3 ###https://github.com/abel533/Mapper ##推荐使用Mybatis分页插件PageHelper ###https://github.com/pagehelper/Mybatis-PageHelper ##作者信息 - 作者博客:http://blog.csdn.net/isea533 - 作者邮箱:abel533@gmail.com - Mybatis工具群(推荐): Mybatis工具群(2) - Mybatis工具群(2000 人已满): Mybatis工具