A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Reading ResultSet data Batch Wise
Joined: Jun 22, 2009
Dec 09, 2009 01:53:24
I have to read REsultSet in a batch.Since My resultSet size quite Huge .
How i can read suppose batch size =100 ..100 records at time ...then apply business rule
then move to next batch ??
Joined: May 26, 2003
Dec 09, 2009 20:21:17
You could use the technique "paging" uses where you query for 100 rows at a time.
How To Ask Questions The Smart Way
Blogging on Certs:
SCEA Part 1
Part 2 & 3
Core Spring 3
TOGAF part 1
Joined: Feb 24, 2006
Dec 09, 2009 22:09:32
This article details some possible approaches including an example of a query that fetches only X rows at a time.
SCJP 6 articles
SCJP 5/6 mock exams
SCJP 5 Mock exam (Word document )
SCJP 5 Mock exam in Java.Inquisition format
I agree. Here's the link:
subject: Reading ResultSet data Batch Wise
Can i process iterator in parallel?
Problem with BATCH UPDATES
When to commit
how to get num of rows in ResultSet
Improve Performance by Best design
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013