ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jriemer <jrie...@ess.ca>
Subject z/os DB2 V9 JDBC ibatis SQLCODE = -20210
Date Tue, 20 Apr 2010 00:57:48 GMT

Attempting to run a z/OS application using DB2 V9 JDBC ibatis:

"com.ibatis.dao.client.DaoException: Failed to execute queryForObject - id
...
Cause: com.ibm.db2.jcc.am.SqlException: [jcc][50053][12311][4.7.94] T2zOS
exception: [jcc][T2zos]T2zosConnection.flowConnect:execConnect:1347: DB2
engine SQL error, SQLCODE = -20210, SQLSTATE = 560B8, error tokens =
ERRORCODE=-20210, SQLSTATE=560B8 at
com.ibatis.dao.client.template.SqlMapDaoTemplate.q
ueryForObject(SqlMapDaoTemplate.queryForObject(Sql MapDaoTemplate ... "

SQLCODE = -20210 suggests a reprecompile/rebind is necessary, but no plan or
package is identified in the error messages.

Is there an ibatis flavor which uses dynamic SQL to avoid this issue?

Any insights appreciated. Thanks.
-- 
View this message in context: http://old.nabble.com/z-os-DB2-V9-JDBC-ibatis-SQLCODE-%3D--20210-tp28287777p28287777.html
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-java-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-java-help@ibatis.apache.org


Mime
View raw message