[IBM][CLI Driver] CLI0102E Invalid conversion. SQLSTATE=07006

Technote (FAQ)
Problem
CLI0102E Invalid conversion. SQLSTATE=07006
Solution
Retrieving the data for a BLOB data type column gets the following exception:

[IBM][CLI Driver] CLI0102E Invalid conversion. SQLSTATE=07006

Probable Cause:

It is likely that a wrong method (for example, getString()) is used to retrieve the BLOB data type column.

Solution:

Use either the getBlob() or getBinaryStream() to retrieve the BLOB data type column.












Document Information

Product categories: Software, Application Servers, Distributed Application & Web Servers, WebSphere Application Server, Java 2 Connectivity (J2C)
Operating system(s): Multi-Platform
Software version: 3.5
Reference #: 1046969
IBM Group: Software Group
Modified date: 2003-11-18