-
Oct 30th, 2008, 11:26 PM
#1
How can we read 10 records at a time
Hi dudes,
i have one dought in spring batch
presently itemreader and itemwriter process one record at a time
how can we read 10records at a time from flat file first and process that 10records to write method and store to database
thanks & Regards,
Ranjith
-
Oct 31st, 2008, 05:39 PM
#2
Reading in all of the records at once sort of negates all the advantages of the framework. However, if you must do it, you should implement such a pattern in your own Tasklet implementation.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules