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