Results 488 comments of Liuzh

报错位置: [ throw new PageException("When you use the PageHelper pagination plugin, you must set the helper property");](https://github.com/pagehelper/Mybatis-PageHelper/blob/576f1eefbb39e840051ff41a0b6a3fa86bba34a5/src/main/java/com/github/pagehelper/page/PageAutoDialect.java#L197) 使用文档: https://github.com/pagehelper/Mybatis-PageHelper/blob/master/wikis/zh/HowToUse.md helperDialect:分页插件会自动检测当前的数据库链接,自动选择合适的分页方式。 你可以配置helperDialect属性来指定分页插件使用哪种方言。配置时,可以使用下面的缩写值: oracle,mysql,mariadb,sqlite,hsqldb,postgresql,db2,sqlserver,informix,h2,sqlserver2012,derby (完整内容看 [PageAutoDialect](https://github.com/pagehelper/Mybatis-PageHelper/blob/master/wikis/zh/src/main/java/com/github/pagehelper/page/PageAutoDialect.java)) 特别注意:使用 SqlServer2012 数据库时,需要手动指定为 sqlserver2012,否则会使用 SqlServer2005 的方式进行分页,还可以设置...

可以发完整异常信息(记得处理敏感的包名信息),也可以在上面异常加断点后通过方法堆栈排查。

查看分页合理化参数,设置false即可。

https://github.com/pagehelper/Mybatis-PageHelper/blob/master/src/main/java/com/github/pagehelper/dialect/helper/PostgreSqlDialect.java The dialect needs to be configured as `postgresql`.

应该和默认值没关系。。可以debug看看获取的字段有没有问题。

把最终执行的SQL用mybatis直接的方式或者JDBC的方式测试看看。

看一下依赖的jsqlparser是不是4.7。。如果使用4.5,可以修改依赖: ```xml com.github.pagehelper pagehelper 6.1.0 com.github.jsqlparser jsqlparser com.github.pagehelper sqlparser4.5 6.1.0 ```