执行insert时候控制台打印[org/springframework/jdbc/support/sql-error-codes.xml]

https://blog.csdn.net/xiaogc_a/article/details/85337704

1http-nio-1123-exec-4] INFO  org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]

一直保存不了数据,打印的这些信息很难排查,
因为我们把异常信息catch掉了,将异常堆栈信息输出就一目了然;

org.springframework.jdbc.BadSqlGrammarException: 
### 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 'limit,offset ) VALUES( 1078860117702610944,null,916962304294,null,null,'chen001'' at line 1
### The error may involve com.xxx.xxx.dao.mapper.AuthenTransferMapper.insert-Inline
### The error occurred while setting parameters

原文:
版权声明:本文为博主原创文章,转载请附上博文链接!

[org/springframework/jdbc/support/sql-error-codes.xml]相关推荐

  1. Struts+Spring+Hibernate处理Lob(Blob,Clob)--sessionFactory中注入 org.springframework.jdbc.support.lob.Def

    [转载]org.springframework.jdbc.support.lob. 转载▼ 标签: 转载 分类: spring 原文地址:org.springframework.jdbc.suppor ...

  2. org.springframework.jdbc.BadSqlGrammarException: CallableStatementCallback; bad SQL grammar

    通过Spring的jdbcTemplate调用Mysql的存储过程,出现下面的问题(以前也使用过,并没有出现下面的问题,折腾大半天,郁闷): 开始报下面的错误: [INFO ]2014-07-01 1 ...

  3. Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException:

    一. 异常信息:Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: E ...

  4. SQL Error: 957, SQLState: 42000 ORA-00957: duplicate column name

    1. PositionLinkage config <?xml version="1.0" encoding="utf-8"?> <!DOCT ...

  5. 求助:SQL Error: 17008, SQLState: 08003

    异常: [pool-5-thread-1] WARN org.hibernate.engine.jdbc.spi.SqlExceptionHelper - SQL Error: 17008, SQLS ...

  6. mybatis mysql merge_使用Mybatis和druid连接池报错 merge sql error, dbType mysql, sql

    在项目中用mybatis查询的时候遇到一个这样的问题,抛错详情如下: merge sql error, dbType mysql, sql : select r.id from role r inne ...

  7. org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘emp

    当在学习Spring的JdbcTemplate时,在进行测试的出现以下异常 org.springframework.beans.factory.UnsatisfiedDependencyExcepti ...

  8. org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested

    org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested ...

  9. org.springframework.beans.factory.UnsatisfiedDependencyException Error creating bean with name

    SpringBoot+SpringCloud+Maven+Mybatis Plus+Feign整合报错 自己做的小Demo报错,卡了好几天,网上能找到的方法都试过了,还是不行,最后幸得高人指点,立马解 ...

  10. 项目启动报错Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error

    错误:项目启动报错: Error starting ApplicationContext. To display the conditions report re-run your applicati ...

最新文章

  1. 【原创】Linux环境下的图形系统和AMD R600显卡编程(11)——R600指令集
  2. C++实现读取指定文件夹下的所有文件
  3. Cocoapods警告 - CocoaPods没有设置项目的基本配置,因为您的项目已经有自定义配置集
  4. shelve 之VS. pickle
  5. 信令风暴问题根因分析
  6. 用户操作拦截并作日志记录--自定义注解+AOP拦截
  7. 使用最大似然法来求解线性模型(1)
  8. matlab漂亮图表,漂亮,美观的图表之Matlab强势回归~~~~走你8
  9. Pycharm 2019 添加 docker 解释器
  10. 买了一个 站立式办公 桌子。
  11. [1] 图像预处理----图像灰度化处理
  12. dynamic programming动态规划初步理解【-1】
  13. Python画一个中国地图玩玩
  14. 工单系统(源代码)PHP语言开发 开发者版
  15. 龙芯电脑上架设网络学习管理系统Moodle
  16. android实现歌词的自动滚动
  17. 【后端学习】后端技术要点总结【一】
  18. 外线座机无法接入到程控交换机问题处理
  19. [1159]adb判断手机屏幕状态并点亮屏幕
  20. 2017计算机最高配置,快来升级你的电脑:2017年单机大作配置要求一览

热门文章

  1. HoRNet L3012 for Mac(贝斯低音效果器)v1.0特别版
  2. 如何使用Magoshare Data Recovery在mac上恢复找回删除的丢失文件?
  3. E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
  4. CSS按钮动画(二)
  5. COCOS CREATOR(TS)之按钮事件
  6. 初识Hadoop入门介绍
  7. [Unity3D]深度相机 Depth Camera
  8. 恶魔的指纹---49幅由算法生成的七芒星图像
  9. TMG自动发现功能配置正常,但客户端却检测不到TMG服务器。
  10. inDesign教程,如何在文档中添加交互性预览?