• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!