ERRORCODE=-4220, SQLSTATE=null

当我在跑程序的时候,从DB2数据库中获取数据,然后通过solr创建索引,发现程序中断,报错日志为:

报错为

Caught java.io.CharConversionException. See attached Throwable for details. ERRORCODE=-4220, SQLSTATE=null

没有准确的sqlstate,通过一番排查,找到了一条数据,

在程序读此数据的时候,就会报错,获取此数据非此乱码字段的任何字段都没问题,delete,问题解决

时间: 2024-10-18 23:14:49

ERRORCODE=-4220, SQLSTATE=null的相关文章

(https://www.ibm.com/developerworks/community/forums/html/topic?id=77777777-0000-0000-0000-000014550004)Topic: Caught java.io.CharConversionException. ERRORCODE=-4220, SQLSTATE=null

270002WDPN 3 Posts 0 people like this Pinned topic                                                              Caught java.io.CharConversionException. ERRORCODE=-4220, SQLSTATE=null Nov 5, 2010                                     |                  

使用 getNextException() 来检索已经过批处理的特定元素的异常。 ERRORCODE=-4228, SQLSTATE=null

今天查询了一天发现的问题,用ibatis做批量操作时,报错: [非原子批处理出现故障]使用 getNextException() 来检索已经过批处理的特定元素的异常. ERRORCODE=-4228, SQLSTATE=null 以为是什么表空间的问题,后来发现还是表字段'BRAND_NM'的长度设置的小,为varchar(25)造成的,但看数值长度:天然香韵(NATURE CHARM),是22个字符啊,甚是奇怪. select * from dmc_tc_rule_basic_cfg sele

操作无效:已关闭 Lob。 ERRORCODE=-4470, SQLSTATE=null

解决方式: 1.jdbc URL链接为:jdbc.url=jdbc:db2://192.168.128.123:50000/pom_ct:driverType=4;fullyMaterializeLobData=true;fullyMaterializeInputStreams=true;progressiveStreaming=2;progresssiveLocators=2; 2.db2命令窗口中使用命令:$ db2set DB2_RESTRICT_DDF=true,设置完后,重启数据库即可

SqlException with message "Caught java.io.CharConversionException." and ERRORCODE=-4220

Technote (troubleshooting) Problem(Abstract) When an application uses the IBM Data Server Driver for JDBC and SQLJ (also known as the JCC driver) and is connected to a database with code set UTF-8 (code page 1208), it throws an SqlException with mess

db2 连接报错connect。 ERRORCODE=-4499, SQLSTATE=08001(转载)

在使用data studio连接远程DB2数据库时报错如下: [jcc][Thread:main][[email protected]] java.sql.SQLException [jcc][Thread:main][[email protected]] SQL state  = 08001 [jcc][Thread:main][[email protected]] Error code = -4499 [jcc][Thread:main][[email protected]] Message

Sqoop从DB2导出数据出错:ERRORCODE=-4499, SQLSTATE=08001

Sqoop执行命令: ./sqoop import --connect "jdbc:db2://10.105.4.55:50001/SCCRM55" --username db2inst1 --password db2opr2010 --table WF_4G_BILLDETAIL_NEW_20140717 --fetch-size 1000 -m 1 --target-dir /ext/ods/ODS_RPT_DAY_DET/20140717_1 --fields-terminate

急!JDBC问题,发生通信错误。错误位置:Reply.fill()。消息:数据不足。 ERRORCODE=-4499, SQLSTATE=08001

代码如下:Class.forName("com.ibm.db2.jcc.DB2Driver");Connection conn = DriverManager.getConnection("jdbc:db2://localhost:50000/sample","db2admin","12345678"); 第二句时就报这个错误:com.ibm.db2.jcc.am.yn: [jcc][t4][2030][11211][3.57

sqoop从DB2迁移数据到HDFS

Sqoop import job failed to read data from DB2 database which has UTF8 encoding. Essentially, even the data cannot be read at DB2 with select queries as there are some characters which are not in UTF8. Sqoop job will throw an error similar to below: E

FAQ of db2fmp messages in the db2diag.log

http://www-01.ibm.com/support/docview.wss?uid=swg21470035   Technote (FAQ) Question What do these messages from the db2fmp process mean? Cause This technote provides some FAQs regarding messages in the db2diag.log in regards to db2fmp processes used