Combine rows from 2 files and write to DB using Spring Batch
<p>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.
Sample data
File1.csv </p>

<pre><code>id    name    age
101   abc     30
102   def     25
</code></pre>

<p>File2.csv</p>

<pre><code>id     designation
101    manager
102    Assistant manager
</code></pre>

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

<pre><code>id   name    age   designation
101  abc     30     manager
102  def     25     Assistant manager
</code></pre>

<p>How to read 2 files simultaneously in spring batch?</p>