保存数据报错
null, ### Error updating database. Cause: 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 'null ,null , null ,null ,null ,null )' at line 46 ### The error may involve com.xxxx.crmform.model.customer.CrmCustomerPerson.add-Inline ### The error occurred while setting parameters ### Cause: 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 'null ,null , null ,null ,null ,null )' at line 46
问题原因:检查添加数据sql是否正确
网友评论