DB2 DDL error... #630
|
Hi. "Errore SQL: [jcc][1037][12036][4.19.49] Exception occurred during clob conversion. See attached Throwable for details. ERRORCODE=-4220, SQLSTATE=null I use latest version of DB2 JDBC Driver 10.5 Fix 7. |
Replies: 5 comments
|
Hi, |
|
Hi. "Errore SQL: [jcc][1037][12036][4.19.49] Exception occurred during clob conversion. See attached Throwable for details. ERRORCODE=-4220, SQLSTATE=null [jcc][1037][12036][4.19.49] Exception occurred during clob conversion. See attached Throwable for details. ERRORCODE=-4220, SQLSTATE=null java.nio.charset.MalformedInputException: Input length = 1". Thanks!!! |
|
Hi, |
|
Sent... ;) |
|
After investigation (and your help!), it appears that the problem is caused by some UTF-8 characters held in the database that the DB2 JDBC driver can not decode, and not from DBeaver itself. The problem will arise with any java program that will access those charcaters via the jdbc driver. This is explained in those IBM technotes:
To solve the problem:
|
After investigation (and your help!), it appears that the problem is caused by some UTF-8 characters held in the database that the DB2 JDBC driver can not decode, and not from DBeaver itself. The problem will arise with any java program that will access those charcaters via the jdbc driver.
This is explained in those IBM technotes:
To solve the problem:
dbeaver.inifile (in the directory where you installed DBeaver)-vmargs-Ddb2.jcc.charsetDecoderEncoder=3