目录
 环境
 症状
 问题原因
 解决方案
环境
 系统平台:Linux x86-64 Red Hat Enterprise Linux 7
 版本:4.3.4.9
 症状
 客户的应用报错:
com.github.pagehelper.PageException: 无法自动获取数据库类型,请通过 helperDialect 参数指定!
问题原因
 没有配置数据库的方言参数helper-dialect,在pagehelper插件中不能获取数据库类型,分页失败
解决方案
 客户使用的框架是springboot,在配置文件application.yml中配置数据库的方言
pagehelper:  
  helper-dialect: postgresql
客户配置之后,分页正常










