I have a scenario with the following steps:

1. Using [mssql jdbc driver](https://github.com/Microsoft/mssql-jdbc) I need to connect to a Sql Server
database table A and get several millions of rows.
2. I need to perform several processing and parsing from the table data
 and also data coming from other sources (e.g. web services).
3. I have to write the processed data into target tables B, C, D, E, F,
 G on a different Sql Server database. The writes could (should?) be
 done in parallel.

I would like to ask some advice on how correctly handle point 3.
I guess is a bad idea to provide the same connection to different threads to make the parallel writes to the target tables. My general idea is to spawn a new thread for each target table (6 in this case) and create a different jdbc connection for each table, thus in theory each write can be done in parallel and independent from each other.

Will this work? Suggestions for other/better ways?