Re: db2 database returns ebcdic



John Smith wrote on 14.09.2006 13:30:
I am running a PreparedStatement query against a DB2 database on a mainframe and it is returning EBCDIC strings to me. How can I get the query to return ASCII strings?

I once had problems with DB2's JDBC driver because the JDK/JRE we were using did not have the charsets.jar included which is apparently needed for the conversion.

You might want to check if that file is present in your JDK/JRE

Thomas
.