Hi there,

we have the following problem using iBATIS on a local machine (win2000) connecting a database at a remote host (db2 on z/os). We are using a jcc type 4 driver of IBM.

While calling the ...queryForList(...)-methode of iBATIS - queryForObject(...) will bring the same result/error -, the following error occurs:

--- The error occurred in <xml-file>
--- The error occurred while applying a parameter map. --- Check the <statement>-InlineParameterMap. --- Check the statement (query failed). --- Cause: com.ibm.db2.jcc.b.DisconnectException: encoding not supported!! DB2ConnectionCorrelator: GA6F0608.G460.C188390D477C

The iBATIS-error itself occurs in method executeQuery(...) of class SqlExecutor.class at line "ps.execute();".

Using the same driver while preparing an own prepared statement and executing it (plain jdbc without iBATIS), everythings works well and the result will be delivered. So it seems not to be a driver error ...

Does anyone has an idea what happens there?

Many thanks.


Ralf


Reply via email to