Open zt9788 opened 1 week ago
这个应该是mybatis本身的问题,建议sql中不要有超过1行的连续空行
这个应该是mybatis本身的问题,建议sql中不要有超过1行的连续空行
mp 3.5.7 同样的sql时没问题的,我看了一下mybatis版本是一样的
你是否在xml文件中,把自己的sql注释了很多行?我也遇到了类似的问题,刚刚测试把注释的内容全删掉就不报错,把注释的内容留着就报错。mp 3.5.7
你是否在xml文件中,把自己的sql注释了很多行?我也遇到了类似的问题,刚刚测试把注释的内容全删掉就不报错,把注释的内容留着就报错。mp 3.5.7
确实注释不少,不过3.5.7没错,3.5.8就不行
遇到了相似的问题,自定义的update sql语句注入器,批量更新的时候,提示有\n的语法错误。3.5.3
确认
当前程序版本
3.5.8
问题描述
当sql中有多个\n的时候,报错
调用
详细堆栈日志
补充一下