Spring JdbcTemplate
SimpleJdbcTemplate
Spring 3 JDBC supports the java 5 feature var-args (variable argument) and autoboxing by the help of SimpleJdbcTemplate class. SimpleJdbcTemplate class wraps the JdbcTemplate class…
NamedParameter
Spring provides another way to insert data by named parameter. In such way, we use names instead of ?(question mark). So it is better to…
ResultSetExtractor
We can easily fetch the records from the database using query() method of JdbcTemplate class where we need to pass the instance of ResultSetExtractor. Syntax…
PreparedStatement
We can execute parameterized query using Spring JdbcTemplate by the help of execute() method of JdbcTemplate class. To use parameterized query, we pass the instance…
JdbcTemplate Example
Spring enables you to define the aspects, advices and pointcuts in xml file. In the previous page, we have seen the aop examples using annotations….