[Solved] shared drive csv file load to Mssql table using spring


This is a typical use case where Spring Batch can help. You can have a first step (of type tasklet) that copies the file from the shared drive to the local machine and then a second step (of type chunk oriented tasklet) that reads the file and inserts data in the database.

You can find samples here: https://github.com/spring-projects/spring-batch/tree/master/spring-batch-samples

solved shared drive csv file load to Mssql table using spring