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 > Fetching data fails on ResultSet.next()

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-24-06, 09:48
Griffith Griffith is offline
Registered User
 
Join Date: Jan 2006
Posts: 7
Unhappy Fetching data fails on ResultSet.next()

Hi there,

I've been searching the net for possible solutions or even the cause of the following problem:

com.ibm.db2.jcc.b.SQLException:
at com.ibm.db2.jcc.b.ca.next(ca.java:255)
at org.apache.commons.dbcp.DelegatingResultSet.next(D elegatingResultSet.java:196)


Unfortunately the SQL Message is not being displayed.

The only thing that I could find is that REORG needs to be run on the respective table. Does anyone else have another suggestion?
Reply With Quote
  #2 (permalink)  
Old 10-24-06, 11:35
guyprzytula guyprzytula is offline
Registered User
 
Join Date: Jun 2006
Posts: 471
java

can you speify, when and where these messages are produced -
starting the connection / connection pool - starting the application
specific statement for application
in an application, always print out the sqlca if error occured.
check log if application server is involved...
specify a bit of detail, so we don't have to guess what is going on..
__________________
Best Regards, Guy Przytula
DB2 UDB LUW certified V6/7/8
Reply With Quote
  #3 (permalink)  
Old 10-25-06, 02:37
Griffith Griffith is offline
Registered User
 
Join Date: Jan 2006
Posts: 7
Hi there, and thanks for the reply.

The error occurs on a specific statement.

Unfortunately, this error is happening in a production system, and the sqlca is not being printed.
I've deployed a change to the system last night to get the error code.

I've run a REORG on the table that I thought was causing the problem, but it doesn't seem to have helped.

Furthermore, the error is intermittent.

Will try to get more detail...

Thanks again...
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