If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > z/os DB2 V9 JDBC ibatis SQLCODE = -20210

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-19-10, 13:00
jriemer jriemer is offline
Registered User
 
Join Date: Apr 2010
Posts: 1
z/os DB2 V9 JDBC ibatis SQLCODE = -20210

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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On