Mybatis异常-SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL,

转载请注明来源:http://blog.csdn.net/loongshawn/article/details/50518014

运行环境

SpringBoot

Mybatis异常摘要

2016-01-14-14-22 [http-nio-8082-exec-1] [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] [INFO] - Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml]
  2016-01-14-14-22 [http-nio-8082-exec-1] [org.springframework.jdbc.support.SQLErrorCodesFactory] [INFO] - SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]

Mybatis异常详细

 2016-01-14-14-22 [http-nio-8082-exec-1] [java.sql.Connection] [DEBUG] - ooo Using Connection [ProxyConnection[PooledConnection[oracle.jdbc.driver.T4CConnection@535f9868]]]
  2016-01-14-14-22 [http-nio-8082-exec-1] [java.sql.Connection] [DEBUG] - ==>  Preparing: UPDATE TBS_ROAD_ONSTAR_FB SET cityname = ? ,backattachment = ? ,errortype = ? ,researchresults = ? ,datastatus = ? ,feedbackdate = ? , duemodifyversion = ? , factmodifyversion = ? , investigator = ? , investigatedate = ? , meshcode = ? , referencematerial = ? , problemsclassify = ? , roadgrade = ? , modifyscheme = ? , modifydate = ? ,submitpubdate = ? ,responselevel = ? ,transmit_to = ? , quality_tester = ? , quality_tested_date = ? , question_status = ? , ng_reason = ? , ng_desc = ? , ng_counts = ? , transmit_info = ? , responsibility_dept = ? , related_research_dept = ? , researchdept = ? , verifyupdatetype = ? , modifyway = ? , problemverfiydate = ? ,researchresults_origin = ? ,datastatus_origin = ? , duemodifyversion_origin = ? , factmodifyversion_origin = ? WHERE refid = ? 
  2016-01-14-14-22 [http-nio-8082-exec-1] [java.sql.PreparedStatement] [DEBUG] - ==> Parameters: 上海市(String), http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png;http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png;http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png;http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png;http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png;http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png;http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png;http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png;http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png;http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png;http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png;http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png;http://gd-feedback.oss-cn-hangzhou-zmf.aliyuncs.com/attach/20160114114005/1111.png(String), 道路缺失(String), aaa根据街景确定,“顺沙路”与“西环路”相交路口内不存在限速,数据制作符合实际情况。
(String), 需更新(String), 2016-01-14 14:22:15.967(Timestamp), (String), 16年春季版3本月30日数据(String), admin(String), 2016-01-14 11:44:50.0(Timestamp), H51F006015(String), ["街景"](String), ["街景"](String), ["城市次干路"]、["城市次干>
"](String), 将方向信息显示的是YANAN ROAD Elevated,但是客户看到实地的英文牌子写的是YANAN ELEVATED RD,按照实地信息进行修改。
(String), 2016-01-14 14:22:15.967(Timestamp), 2016-01-14 14:22:15.967(Timestamp), (String), (String), Road-system(String), 2016-01-14 14:22:15.967(Timestamp), (String), (String), (String), 0(Integer), (String), ["
道路部"](String), (String), ["道路部"](String), ["公共"](String), ["修改"](String), 2016-01-14 14:22:15.967(Timestamp), aaa根据街景确定,“顺沙路”与“西环路”相交路口内不存在限速,数据制作符合实际情况。
(String), 需更新(String), (String), 16年春季版3本月30日数据(String), 600001369(String) 2016-01-14-14-22 [http-nio-8082-exec-1] [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] [INFO] - Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] 2016-01-14-14-22 [http-nio-8082-exec-1] [org.springframework.jdbc.support.SQLErrorCodesFactory] [INFO] - SQLErrorCodes loaded: [DB2, Derby, H2, HSQL, Informix, MS-SQL, MySQL, Oracle, PostgreSQL, Sybase]

异常产生原因

Error : ORA-01747: invalid user.table.column, table.column, or column specification

由于插入字断超过默认最大长度。

异常排查

参考文章《Oracle常见异常处理》

你可能感兴趣的:(MyBatis,SpringBoot,Oracle)