Results 1 to 2 of 2

Thread: How can we read 10 records at a time

  1. #1
    Join Date
    Jan 2008
    Posts
    6

    Default 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

  2. #2
    Join Date
    Dec 2006
    Posts
    1,061

    Default

    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
  •