views:

43

answers:

1

Hi,

What's the difference between a JdbcTemplate object and a SimpleJdbcTemplate?

Thanks,

P.

+5  A: 

From the Javadoc, SimpleJdbcTemplate is a

Java-5-based convenience wrapper for the classic Spring JdbcTemplate, taking advantage of varargs and autoboxing, and exposing only the most commonly required operations in order to simplify JdbcTemplate usage.

In other words, SimpleJdbcTemplate just breaks the "regular" JdbcTemplate down to the most common/convenient parts — in other words, it simplifies it.

Lord Torgamus
Thanks Torgamus. I'll use the SimpleJdbcTemplate.
Pnutz