-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[错误报告]: 当sql中包含多个\n可能解析失败 #6502
Labels
Comments
这个应该是mybatis本身的问题,建议sql中不要有超过1行的连续空行 |
mp 3.5.7 同样的sql时没问题的,我看了一下mybatis版本是一样的 |
你是否在xml文件中,把自己的sql注释了很多行?我也遇到了类似的问题,刚刚测试把注释的内容全删掉就不报错,把注释的内容留着就报错。mp 3.5.7 |
确实注释不少,不过3.5.7没错,3.5.8就不行 |
遇到了相似的问题,自定义的update sql语句注入器,批量更新的时候,提示有\n的语法错误。3.5.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
确认
当前程序版本
3.5.8
问题描述
当sql中有多个\n的时候,报错
调用
详细堆栈日志
补充一下
The text was updated successfully, but these errors were encountered: