Closed xhc-code closed 1 year ago
你的意思是让我升级?升级到4.6不行啊,因为pagehelper的最新版本引用的是4.5版本的jsqlparser。不过倒是还没尝试。
升级试试. 我现在用4.6的jsqlparser PageHelper可以正常用
升级试试.我现在用4.6的jsqlparser PageHelper可以正常用
可以告诉下你的mybatisplus和pagehelper的版本信息吗?我现在是将jsqlparser降到4.3的版本,可以正常使用,目前倒是没有发现其他问题。
spring boot 2.6.14 mybatis starter 2.3.1 mybatis-plus 3.5.3.2 pageHelper starter 1.4.7 排除了pageHelper中的jsqlparser
spring boot 2.6.14 mybatis starter 2.3.1 mybatis-plus 3.5.3.2 pageHelper starter 1.4.7 排除了pageHelper中的jsqlparser
好的,谢谢。
当前使用版本(必填,否则不予处理)
使用的jsqlparser版本是4.4
使用的jsqlparser版本是4.5
该问题是如何引起的?(确定最新版也有问题再提!!!)
将jsqlparser引入4.4,会导致查询select报错,但是sql是正确的,可以正常执行的。
将jsqlparser引入4.5,会导致保存insert报错,没有打印出sql,但是sql是mybatisplus自动生成的,应该不会有问题。
重现步骤(如果有就写完整)
就很神奇和极端,无论取低版本还是高版本都不行。