adspace


What is spring jdbctemplate class and how to use it?

Answer Posted / Chandan Kumar Choudhary

Spring JdbcTemplate simplifies database operations by providing a layer of abstraction over JDBC API. To use it, you need to autowire JdbcTemplate in your bean, create PreparedStatementCreator or SimpleJdbcCall objects, and call appropriate methods like execute, queryForObject, update, etc.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lazy class?

490


What is difference between @controller and @restcontroller in spring?

556


How can you inject java collection in spring?

518