The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

milind123 (2) [Avatar] Offline
#1
"And as of Spring 3.0, support for older
versions of Java (prior to Java 5) had been dropped--so there's almost no reason to
choose the plain JdbcTemplate over SimpleJdbcTemplate."

This statement was true a few version's ago. But now (3.0 version) JdbcTemplate can support autoboxing and varargs, so there is no real need for SimpleJdbcTemplate. In fact it might be depricated in version 3.1. (https://jira.springsource.org/browse/SPR-6922)
kxen (31) [Avatar] Offline
#2
Re: JdbcTemplate or SimpleJdbcTemplate
I can confirm that SimpleJdbcTemplate and SimpleJdbcDaoSupport are deprecated in 3.1.

Here is what the API javadoc has to say about it.
SimpleJdbcTemplate
Deprecated. since Spring 3.1 in favor of JdbcTemplate and NamedParameterJdbcTemplate. The JdbcTemplate and NamedParameterJdbcTemplate now provide all the functionality of the SimpleJdbcTemplate.

SimpleJdbcDaoSupport
Deprecated. since Spring 3.1 in favor of JdbcDaoSupport and NamedParameterJdbcDaoSupport. The JdbcTemplate and NamedParameterJdbcTemplate now provide all the functionality of the SimpleJdbcTemplate.