This can be achieved in two ways,
1) Writing the batch process, read it from CSV file , call Batch process and load in to the database
2) Stored procedures avoid network traffic, but you should take how do you pass data from jdbc calls to storedprocedures