springboot批量修改报错,解决mybatis不支持sql批量执行的问题
基于springboot的项目,在进行批量更新操作时报错,但将打印出来的sql复制到mysql直接执行时,正常执行不报错
报错内容:
Error updating database. Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right synt.
原创
2021-08-04 17:18:53 ·
994 阅读 ·
1 评论