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 'table' at line 1
我在数据库中新建了一个表, 表名设为table, 结果一直报错,
原来table是数据库的关键字, 所以名字冲突, 一个表名的错误让我找bug找了好久,
立刻写一篇博客提醒各位强迫症命名患者!