Announcement Announcement Module
Collapse
No announcement yet.
How can we read 10 records at a time Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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.

    Comment

    Working...
    X