Just something to consider on Spring's JDBC batch update support:
In the 1.1 codebase there is a new SqlOperation that makes performing batch updates easier than using the batchUpdate method of JdbcTemplate with a PreparedStatementSetter. This operation essentially is a higher-level abstraction on top of JdbcTemplate. The result is some pretty clean code:
Code:
BatchSqlUpdate batchUpdater = new MyBatchSqlUpdate(getDataSource(), "insert into table values(?, ?, ?)");
batchUpdater.update(new Object[] { value1, value2, value3 };
batchUpdater.update(new Object[] { value4, value5, value6 };
batchUpdater.update(new Object[] { value7, value8, value9 };
// etc...
batchUpdater.flush();
[/code]