adspace


How to call stored procedure in spring framework?

Answer Posted / Upendra Kumar Raj

To call a stored procedure in Spring Framework, you can use JdbcTemplate or NamedParameterJdbcTemplate. You first define the stored procedure in the configuration file and then use it in your code by creating an instance of either JdbcTemplate or NamedParameterJdbcTemplate and calling the appropriate method.

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 difference between @controller and @restcontroller in spring?

556


What is lazy class?

490


How can you inject java collection in spring?

518