posted 19 years ago
Hi Everyone,
I need to know, is there any possibility for us to get a limited count of records from resultset ?
Basically, the problem is , if the query result - resultset returns more than 10000 records, i couldn't able to get all the records in the Swing client..returning Out of Memory error.So, we decided to show some 5000 records to the client.Ofcourse, i can use setMaxSize() to get limited the query result.But , we have to show the total record count in another text field ..
So, my idea is , fetch all the records using resultset..
get the total count...then filter only 5000 records to display to the client...here only i need the help..is there any way to filter only limited count of records from resultset ?
Primary objective is, to finish this operation in a single database call...
I appreciate your suggesstions and ideas on this .
Thank You !