Spring JDBC: Introduction to JdbcTemplate (III)--JdbcTemplate Derivatives
1. JdbcDaoSupport
3. NamedParameterJdbcTemplate
When we execute preparedStatements, we need to use ? as place holder.
But NamedParameterJdbcTemplate offers a mechanism that we can use specific name as holder.
4. SimpleJdbcTemplate --> Depreciated
1> Enables uncertain query parameters with the technology provided since Java 1.5.
? ? ?But this function has been added to JdbcTemplate as well.
2> Enables named placeholder, which is the main function of NamedParameterJdbcTemplate.
3> This class is now depreciated as all its function provided are also provided by other classes.
Example for NamedParameterJdbcTemplate
?