If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > DB2 blob problem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-05-04, 10:10
mali_zeko mali_zeko is offline
Registered User
 
Join Date: Jan 2004
Posts: 1
DB2 blob problem

Hi!

I have, as it seems to me, a "DB2-blob-java" problem(?).
When I try to read a blob column from a table in a DB2 database(" ... Blob blob = rs.getBlob(name_of_the_column) ... ") I get an error:

" ... [IBM][JDBC Driver] CLI0606E The returned value from a column is incompatible with the data type corresponding to the get*** method. SQLSTATE=22005 ... "

Driver is JDBC 2.0, jdk 1.2.2 (JDBC API 2.0), DB2 version is 7.1.1. ...

I can read columns of any other type without problems.

Does anybody know what the problem is and how can I fix it?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 01-17-04, 04:06
hzdcc hzdcc is offline
Registered User
 
Join Date: Jan 2004
Posts: 1
I have met this before(DB2 V7.2),several times,but i fixed it with reinstalling the DB2.I think it is a bug.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On