How to do multiple inserts in database using spring JDBC Template batch?
I am not sure if you can do that using JDBC template alone. Maybe you could invoke the batchUpdate method in steps, by slicing up the big list into batch-sized chunks. Have a look here: @Override public void saveBatch(final List<Employee> employeeList) { final int batchSize = 500; for (int j = 0; j < employeeList.size(); … Read more