zoukankan      html  css  js  c++  java
  • 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 有什么问题可以给我留言噢~
  • 相关阅读:
    跳转
    登录
    计算器
    安卓作业
    第十三周作业
    第十三周上机练习
    第十二周作业
    第十二周上机作业
    第八周作业
    第七周作业
  • 原文地址:https://www.cnblogs.com/flyingcr/p/10326952.html
Copyright © 2011-2022 走看看