DB2 - Problem description
Problem IT04563 | Status: Closed |
PREPAREDSTATEMENT.SETBYTES() AGAINST VARCHAR COLUMN GETS ILLEGAL CONVERSION EXCEPTION | |
product: | |
DB2 DATA SRVR D / DB2DSDRVR / A50 - DB2 | |
Problem description: | |
PreparedStatement.setBytes() against VARCHAR Column gets Illegal conversion: can not convert from "byte[]" to "java.lang.String" ERRORCODE=-4474, SQLSTATE=null Applications receive ERROR CODE -4474 when setBytes() method invoked on PreparedStatement, CallableStatement, ResultSet. This error is returned only for DB2 V10 ZOS databases. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * All users of IBM Data Server Driver for JDBC and SQLJ * * shipped with DB2 10.5 releases earlier than DB 10.5 Fixpack * * 4. * **************************************************************** * PROBLEM DESCRIPTION: * * Refer Error Description. * **************************************************************** * RECOMMENDATION: * * Upgrade to DB2 10.5 Fixpack 4 * **************************************************************** | |
Local Fix: | |
Solution | |
Upgrade to DB2 10.5 Fixpack 4 | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 26.09.2014 26.09.2014 26.09.2014 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) | |
10.5.0.4 |