ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralf Assmann <ralf.assm...@innovations.de>
Subject "encoding not supported"-error using iBATIS with db2 on z/os
Date Wed, 21 Nov 2007 17:08:55 GMT

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.


View raw message