v5.3.2
版本发布时间: 2022-09-19 00:07:18
pagehelper/Mybatis-PageHelper最新发布版本:v6.0.0(2023-11-05 11:52:39)
5.3.2 - 2022-09-18
- 使用文档更新,所有参数都包含在内,首页默认文档改为中文。
- Add support for kingbase. by HanHuimin001
- 增加
debug
参数,默认false
,为true
时开启debug
模式,开始debug
模式后将记录调用堆栈 by huyingqian - Add 支持count的sql支持hint语法 by zhanliquan
- 增加
PageProperties
接口,框架内部实例化的扩展类如果实现了这个接口,可以通过这个接口的方法获取分页插件配置。 - 增加
CountMsIdGen
接口,可以通过countMsIdGen
配置自定义实现类,该类用于生成查询对应COUNT查询的msId。默认实现还是使用countSuffix
,通过扩展可以实现如selectByExample
映射到对应的selectCountByExample
方法。 - 增加
keepOrderBy
和keepSubSelectOrderBy
配置。 - 增加
sqlParser
配置,增加JSqlParser
接口,解决 jsqlparser 和 jdk 兼容性导致无法额外配置的问题。 - 测试使用 logback 日志框架,去掉log4j。
- 解决
dialectKey
为空导致NPE,fixed #656
5.3.2 - 2022-09-18
- Use document update, all parameters are included, the default home page document changed to Chinese.
- Add support for kingbase. by HanHuimin001
- Add 'debug' parameter, default 'false', turn on 'debug' mode when 'true', call stack will be recorded after 'debug' mode starts. by huyingqian
- add supports for count sql hint syntax. by zhanliquan
- Add a
PageProperties
interface, which can be used by the instantiated extension class inside the framework to obtain the paging plug-in configuration. - To add the
CountMsIdGen
interface, you can configure a custom implementation class byCountMsIdGen
, which is used to generate the msId for the query corresponding to the COUNT query. The default implementation is stillcountSuffix
, with extensions like 'selectByExample' mapped to the corresponding 'selectCountByExample' method. - Added
keepOrderBy
andkeepSubSelectOrderBy
configurations. - Add the
sqlParser
configuration and add theJSqlParser
interface to solve the problem that JSqlParser and JDK compatibility cause no additional configuration. - The test uses the Logback logging framework and removes log4j.
- Resolve that 'dialectKey' is empty resulting in NPE,fixed #656