Register / Login
Combine rows from 2 files and write to DB using Spring Batch
posted 3 months ago
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.
id name age 101 abc 30 102 def 25
id designation 101 manager 102 Assistant manager
read the files simultaneously, combine the data and write to DB as below
id name age designation 101 abc 30 manager 102 def 25 Assistant manager
How to read 2 files simultaneously in spring batch?
Boost this thread!
Passing the “resources” property value to multiResourceReader from previous step in spring batch
basic instantiation question
Changing File Permission
Logic or syntax
Recursively iterate folders with Ant