1.

What are some of the classes for Spring JDBC API?

Answer»
  • Following are the classes
    • JdbcTemplate
    • SimpleJdbcTemplate
    • NamedParameterJdbcTemplate
    • SimpleJdbcInsert
    • SimpleJdbcCall
  • The most commonly used one is JdbcTemplate. This internally USES the JDBC API and has the advantage that we don’t need to CREATE connection, statement, START transaction, COMMIT transaction, and close connection to execute different queries. All these are handled by JdbcTemplate itself. The DEVELOPER can focus on executing the query directly.


Discussion

No Comment Found