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 > SQLJ data exception

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-28-04, 18:12
Ling Tai Ling Tai is offline
Registered User
 
Join Date: Apr 2004
Posts: 1
SQLJ data exception

We use named iterator to retrieve data from the result set. One of our test case is to run the same set of SQLJ statements to add, delete or get data from our database repeatedly for 7 days. When we run this case, we are able to run that same set of SQLJ statements successfully for 34 times. But it always failed on the 35th run of this test case and at the same place, i.e. in looping through the result set. The exception we got is shown below. We examine our database and see no such data in the database. Any idea or suggestion of why we are getting this error?

Thanks,
Ling



[IBM][CLI Driver][DB2/NT] SQL0433N Value "‘Ækš¬â2Y¡*+Z ûز1ôìh;¾¯ Y˜ WŽÅ&Ú 5‹ç6Ѥ¡ÅþÔò/Oز1ôìh;¾¯ Y˜" is too long. SQLSTATE=22001

at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_S QLException(Unknown Source) at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_S QLException(Unknown Source)(Inlined Compiled Code)
at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_r eturn_code(Unknown Source)(Compiled Code)
at COM.ibm.db2.jdbc.app.DB2ResultSet.next(Unknown Source)(Compiled Code)
at com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.next(WSJ dbcResultSet.java(Compiled Code))
Reply With Quote
  #2 (permalink)  
Old 04-29-04, 08:34
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by Ling Tai
We use named iterator to retrieve data from the result set. One of our test case is to run the same set of SQLJ statements to add, delete or get data from our database repeatedly for 7 days. When we run this case, we are able to run that same set of SQLJ statements successfully for 34 times. But it always failed on the 35th run of this test case and at the same place, i.e. in looping through the result set. The exception we got is shown below. We examine our database and see no such data in the database. Any idea or suggestion of why we are getting this error?

Thanks,
Ling



[IBM][CLI Driver][DB2/NT] SQL0433N Value "‘Ækš¬â2Y¡*+Z ûز1ôìh;¾¯ Y˜ WŽÅ&Ú 5‹ç6Ѥ¡ÅþÔò/Oز1ôìh;¾¯ Y˜" is too long. SQLSTATE=22001

at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_S QLException(Unknown Source) at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.throw_S QLException(Unknown Source)(Inlined Compiled Code)
at COM.ibm.db2.jdbc.app.SQLExceptionGenerator.check_r eturn_code(Unknown Source)(Compiled Code)
at COM.ibm.db2.jdbc.app.DB2ResultSet.next(Unknown Source)(Compiled Code)
at com.ibm.ws.rsadapter.jdbc.WSJdbcResultSet.next(WSJ dbcResultSet.java(Compiled Code))
What's the statement? Need more info. Calling any functions, built-in or otherwise?
__________________
--
Jonathan Petruk
DB2 Database Consultant
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