Now usign org.springframework.jdbc.core.JdbcTemplate#batchUpdate(java.lang.String, org.springframework.jdbc.core.BatchPreparedStatementSetter) with empty data array may produce exception with some DBs. E. g. with HSQLDB it produce java.sql.SQLException: statement is not in batch mode. Suggest avoid it by batchSize checking.

Comment From: pivotal-cla

@Li0n13 Please sign the Contributor License Agreement!

Click here to manually synchronize the status of this Pull Request.

See the FAQ for frequently asked questions.

Comment From: pivotal-cla

@Li0n13 Thank you for signing the Contributor License Agreement!