org.springframework.jdbc.BadSqlGrammarException:
遇到的问题
org.springframework.jdbc.BadSqlGrammarException:
### Error updating database. Cause: java.sql.SQLSyntaxErrorException:
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 'condition )
VALUES( '1','ff','file:///','123456','四川',12,'王','1970-' at line 1
数据库的字段有关键字:condition
改成了conditions,解决了问题
欢迎关注我的公众号:小秋的博客
CSDN博客:https://blog.csdn.net/xiaoqiu_cr
github:https://github.com/crr121
联系邮箱:rongchen633@gmail.com
有什么问题可以给我留言噢~