My query returns 64000 records. I am using ordinary result set object to retrieve the records. All the records are stored in to ArrayList. After certain number of records(11000), the resultSet neither moves to next record or throws any exception. It seems to me like a weird problem. I don't know what might be the cause of the problem.
Please let me know. If you think, it might be a memory problem, then pls let me know how to increase heap memory of Oracle AS.
It would be helpful to see the code that you are using. My guess is that right around record 11000, there is a null value, and you are not getting an error because the code is not contained in a try/catch block, or the exception is being swallowed. In general, dumping results to an ArrayList is pretty straight forward.
Makesh Kumar Ramakrishnan
Joined: Jan 07, 2006
Thanks you for your reply. I forgot inform that this problem is not consistent one. it executes for someother input. any way i posted my code below. For your information, I checked with my DBA, he said that the cursor is not closed at all. its in 'executing mode'.
Please let me know if you need any further details.