Win a copy of hapi.js in Action this week in the HTML, CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Combine rows from 2 files and write to DB using Spring Batch

 
Aruna Ponaka
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have File1.csv, with the columns id,name,age. File2.csv has the columns id,designation. In both the files ID refers to same value and is unique.

File1.csv


File2.csv


Spring batch should read the files simultaneously, combine the data and write to DB as below



How to read 2 files simultaneously in spring batch?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!