Translating SQLException with SQL state '42000', error code '1064', message [You have an error in yo
来源:互联网 发布:java excel 图表插件 编辑:程序博客网 时间:2024/05/22 04:47
概述:
尴尬自动生成代码都有错误,很郁闷,最后发现用了mysql的保留字 desc
[org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator] - Translating SQLException with SQL state '42000', error code '1064', message [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 'desc ) values ( '00aaaaaaaaaaaaaa', '26208', ' at line 11]; SQL was [] for task [### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 'desc ) values ( '00aaaaaaaaaaaaaa', '26208', ' at line 11### The error may involve com.rinlink.intelligent.DAO.LockStatusDAO.insertSelective-Inline### The error occurred while setting parameters### SQL: insert into lock_status ( device_id, serial_num, status, desc ) values ( ?, ?, ?, ? )### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 'desc ) values ( '00aaaaaaaaaaaaaa', '26208', ' at line 11][com.rinlink.intelligent.socket.parser.ParserDispatch] - 解析过程失败
mysql保留字参考如下:
http://luanxiyuan.iteye.com/blog/2224331阅读全文
0 0
- Translating SQLException with SQL state '42000', error code '1064', message [You have an error in yo
- 1064 - You have an error in your SQL syntax问题解决
- Error 1064(42000):you have an error in your sql syntax;一个简单的原因
- 完美解决 ERROR 1064 (42000): You have an error in your SQL syntax ... near …
- ERROR 1064 (42000): You have an error in your SQL syntax
- Error Code : 1064 You have an error in your SQL syntax; check the manual that corresponds to your My
- JBPM工作流之出现Could not synchronize database state with session以及You have an error in your SQL syntax;的异
- Mybatis SQLException with Error code '911', Extracted SQL state class '42' from value '42000'
- Failed - Error on Table mi_oauth - 1064 - You have an error in your SQL syntax;
- You have an error in your SQL syntax
- MySql JDBC:You have an error in your SQL syntax;
- You have an error in your SQL syntax的解决方法
- 抛出 异常 You have an error in your SQL syntax...
- You have an error in your SQL syntax;解决方法
- You have an error in your SQL syntax;
- You have an error in your SQL syntax
- You have an error in your SQL syntax;
- You have an error in your SQL syntax;
- 新闻客户端
- 库克:我不担心人工智能像人一样思考【智库2861】
- qq登录
- Android开发listview最后一行显示下划线
- idea 2017 注册
- Translating SQLException with SQL state '42000', error code '1064', message [You have an error in yo
- Subsequence(POJ No.3061)(尺取法)
- 有效有效的解决jquery版本冲突
- 用于文本分类的RNN-Attention网络
- jQuery对象和DOM对象的区别和联系
- Android入门计算器编写
- java复制数组
- Python3.6安装Scrapy爬虫框架
- hdu5491-位操作模拟