使用批量修改时,报语法错误;
java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘’
检查sql语句没问题,
实际原因是mybatis不会识别“;”,需要修改连接数据库配置,
数据源url后加上
&allowMultiQueries=true