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,解决了问题


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM