0
点赞
收藏
分享

微信扫一扫

MySQL:check the manual that corresponds to your MySQL server version for the right syntax

最后的执着 2022-04-21 阅读 176
mysql

记录毕设项目遇到的问题与解决方法3:

出现报错:

Request processing failed; nested exception is 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,是数据库的特殊字符,尽量不要使用关键字命名。

举报

相关推荐

0 条评论