check the manual that corresponds to your MySQL server version for the right syntax to use near 'null' at line 84

做mybatis批量插入的时候一直报这个错误,为此找了很久,

一直报着附近的错,后面发现是foreach后面括号没有添加,搞得我心累,所以还是粗心犯的错误,

出现这个错误肯定是sql语法的问题,建议仔细检查每一个环节才能找出错误

原文地址:https://www.cnblogs.com/jbml-154312/p/7692798.html