github pagehelper/Mybatis-PageHelper v5.0.0
PageHelper v5.0.0

latest releases: v6.1.0, 6.1.0, 6.0.1-snapshot...
7 years ago
  • Use QueryInterceptor spec to handle paging logic
  • New pagination plugin interceptor com.github.pagehelper.PageInterceptor
  • New Dialect PageHelper is a special implementation class, the previous function is implemented in more user-friendly ways
  • New pagination plugin only a dialect parameter, the default dialect is PageHelper
  • PageHelper continue to support previously provided parameters, Among the latest to use the document has been fully updated
  • PageHelper has a helperDialect parameter which is the same functional as the previous dialect
  • Added paging implementation based on pure RowBounds and PageRowBounds,
    in com.github. pagehelper. dialect. rowbounds package, it is used as dialect Parameter sample implementation, more detailed documentation will be added later
  • Removed inappropriate orderby functions that appear in pagination plugin. It will provide a separate sort plug-ins in the future
  • Remove PageHelper are less commonly used methods
  • A new document, an important part of the update has been mentioned in the changelog, provides the English version of this document
  • fix bug #149
  • renamed Db2RowDialect to Db2RowBoundsDialect
  • All thrown exceptions being replaced by PageException

中文:

  • 使用 QueryInterceptor 规范 处理分页逻辑
  • 新的分页插件拦截器为 com.github.pagehelper.PageInterceptor
  • 新的 PageHelper 是一个特殊的 Dialect 实现类,以更友好的方式实现了以前的功能
  • 新的分页插件仅有 dialect 一个参数,默认的 dialect 实现类为 PageHelper
  • PageHelper 仍然支持以前提供的参数,在最新的使用文档中已经全部更新
  • PageHelperhelperDialect 参数和以前的 dialect 功能一样,具体可以看文档的参数说明
  • 增加了基于纯 RowBoundsPageRowBounds 的分页实现,在 com.github.pagehelper.dialect.rowbounds 包中,这是用于作为 dialect 参数示例的实现,后面会补充更详细的文档
  • 去掉了不适合出现在分页插件中的 orderby 功能,以后会提供单独的排序插件
  • 去掉了 PageHelper 中不常用的方法
  • 新的文档,更新历来更新日志中提到的重要内容,提供英文版本文档
  • 解决 bug #149
  • 将 Db2RowDialect 改为 Db2RowBoundsDialect
  • 所有分页插件抛出的异常改为 PageException

Support Spring Boot:
https://github.com/pagehelper/pagehelper-spring-boot

Don't miss a new Mybatis-PageHelper release

NewReleases is sending notifications on new releases.