红联Linux门户
Linux帮助

Mybatis分页插件PageHelper 5.1.1发布

发布时间:2017-08-31 09:03:27来源:红联作者:baihuo
Mybatis分页插件 - PageHelper 5.1.1 发布了。

本次更新完全针对 SqlServer 2005 和 SqlServer 2008,使用这两个版本数据库的需要更新,对其他数据库没有影响。

如果你也在用Mybatis,建议尝试该分页插件,这一定是最方便使用的分页插件。

该插件目前支持以下数据库的物理分页

Oracle

Mysql

MariaDB

SQLite

Hsqldb

PostgreSQL

DB2

SqlServer(2005+)

Informix

H2

SqlServer2012

Derby

Phoenix

如果你使用 Maven 可以在pom.xml 中添加下面的依赖:[code]
com.github.pagehelper
pagehelper
5.1.1
[/code]如果使用Spring Boot,可以直接添加下面的依赖:[code]
com.github.pagehelper
pagehelper-spring-boot-starter
1.2.1
[/code]5.1.1

此次更新解决的问题只和 SqlServer 2005,2008 有关

解决RegexWithNolockReplaceSql中正则w?错误的问题,应该是w+。

解决SqlServerDialect中没有初始化默认SimpleWithNolockReplaceSql的错误。

SqlServerRowBoundsDialect增加对replaceSql参数的支持。

软件详情:http://git.oschina.net/free/Mybatis_PageHelper

来自:开源中国社区
文章评论

共有 0 条评论