V
vikas khengare
Hello Friends....
I have some problems regarding JDBC.
If My database has More than 10,000 records in some tables.
Then while retrieving (Fetch) them in one go using ResultSet object in
java it gives me OutOfMemory Exception. But if i want to fetch 8,000
records,then it is fetching very well.
My Problem is ==> How do I get access(Fetch) to those records using
ResultSet object which has more than 10,000 in numbers ?
I know there is some method called "getFetchSize" &"setFetchSize".
But I don't know how to use them in combination with SQL and ResultSet
object.
I hope that I will get some solution from Experts like you people.
Thanks.
Best Regards
[ (e-mail address removed) ]
I have some problems regarding JDBC.
If My database has More than 10,000 records in some tables.
Then while retrieving (Fetch) them in one go using ResultSet object in
java it gives me OutOfMemory Exception. But if i want to fetch 8,000
records,then it is fetching very well.
My Problem is ==> How do I get access(Fetch) to those records using
ResultSet object which has more than 10,000 in numbers ?
I know there is some method called "getFetchSize" &"setFetchSize".
But I don't know how to use them in combination with SQL and ResultSet
object.
I hope that I will get some solution from Experts like you people.
Thanks.
Best Regards
[ (e-mail address removed) ]