Adil
Adil

Reputation: 29

Spring batch to read multiple csv files into different databases table

I have multiple excels which are different from each other. One has columns like segment, country, product and the other one has application, environment, database and so on... I want to read them and insert them into different tables say t1 and t2 respectively. I am looking for something which can solve this issue. I have seen many tutorials/blogs etc which shows to read and write single excel into database or multiples files but the structure of excels are same ie columns are same.

Upvotes: 0

Views: 145

Answers (1)

Mahmoud Ben Hassine
Mahmoud Ben Hassine

Reputation: 31710

The input files are differents, so you would want to create different steps to process them. These steps can be executed in parallel since the read/write operations are independent.

Upvotes: 0

Related Questions