本文内容来自YashanDB官网,原文内容请见 https://www.yashandb.com/newsinfo/7863046.html?templateId=1718516
现象
mybatis或mybaits-plus的mapper文件sql结尾加分号";"
执行时报错:”YAS-04209 unexpected word;“

解决办法
将sql结尾分号“;”去掉。
使用注解方式写的sql语句也会遇到同样的问题,解决办法一样,去掉分号”;“。

本文内容来自YashanDB官网,原文内容请见 https://www.yashandb.com/newsinfo/7863046.html?templateId=1718516
mybatis或mybaits-plus的mapper文件sql结尾加分号";"
执行时报错:”YAS-04209 unexpected word;“

将sql结尾分号“;”去掉。
使用注解方式写的sql语句也会遇到同样的问题,解决办法一样,去掉分号”;“。


被折叠的 条评论
为什么被折叠?