I was reading folowing lines and I did not understand clearly.
return jdbcTemplate.batchUpdate(sql, setter);
To Execute batch
JDBC driver supports batching, the updates will be batched, creating
more efficient database access. If not, Spring will simulate batching, but the statements
will be executed individually.
Why we used jdbcTemplate. what is difference between batch execute and executing a statement.
Any ideas, resources,sample code,links, highly appreciated. thanks in advance.