tk.mybatis 用insertList方法

Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 '' at line 1at sun.reflect.GeneratedConstructorAccessor61.newInstance(Unknown Source)

在做循环批量插入时数据能正常入库但会出现上面异常,看了很多博客在

spring.datasource.url=添加allowMultiQueries=true 没有解决 请大神看看谢谢

猜你喜欢

转载自blog.csdn.net/weixin_38895564/article/details/80016067