I am new to Spring 3.0 . For DAO access i have choosen SpringJDBC. SpringJDBC provides JDBC Template and SimpleJDBCTemplate . Which one is best. I read in some of the forum SimpleJDBCTemplate going to be deprecated in Spring 3.1. What is the difference between these two.Guide me which one is best.
In Spring 3.x you should use JdbcTemplate
.
In previous versions of Spring SimpleJdbcTemplate
leveraged new features of Java 5, whereas JdbcTemplate
maintained compatibility with pre-Java 5 environments. But now all features of SimpleJdbcTemplate
have been added to JdbcTemplate
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With