home clear 64x64
en blue 200x116 de orange 200x116 info letter User
suche 36x36
Latest versionsfixlist
11.1.0.7 FixList
10.5.0.9 FixList
10.1.0.6 FixList
9.8.0.5 FixList
9.7.0.11 FixList
9.5.0.10 FixList
9.1.0.12 FixList
Have problems? - contact us.
Register for free anmeldung-x26
Contact form kontakt-x26

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 FixList