Spring JDBC

Spring JDBC Tutorial

Spring JDBC provides the abstraction over the tedious task of interacting with low-level JDBC details. You only focus on specifying SQL statements, parameters and processing the result of that SQL operation and rest is handled by Spring JDBC like transaction handling, exception processing, opening Connection, preparing and executing statements and closing Resultset, Statement and Connection.

Spring JDBC provides multiple approaches to form JDBC data access viz. JdbcTemplate, NamedParameterJdbcTemplate, SimpleJdbcInsert and SimplejdbcCall. Let's look into the example of each below.

No comments :

Post a Comment