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. |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
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!!! |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Sent... ;) |
Beta Was this translation helpful? Give feedback.
-
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:
|
Beta Was this translation helpful? Give feedback.
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.ini
file (in the directory where you installed DBeaver)-vmargs
-Ddb2.jcc.charsetDecoderEncoder=3