• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

Aruna Ponaka
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.



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?
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!