java 使用数据库插入sql时报错.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax;

报错如下:sql.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 

后来找了半天,发现value与() 之间要有一个空格!

 

posted @ 2019-07-17 17:19  慕白白  阅读(697)  评论(0编辑  收藏  举报