How to call stored procedure in spring framework?



How to call stored procedure in spring framework?..

Answer / 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

More Spring Framework Interview Questions

What is front controller in spring mvc?

1 Answers  


What is jpa repository in spring boot? : Spring Boot

1 Answers  


How do I create a rest api in spring boot? : Spring Boot

1 Answers  


What is spring language?

1 Answers  


What is difference struts and spring?

1 Answers  


What is spring core module?

1 Answers  


What does autowired mean in spring?

1 Answers  


What is root context?

1 Answers  


What is the advantage of spring mvc?

1 Answers  


What are important spring projects?

1 Answers  


What is difference between java singleton and spring singleton?

1 Answers  


Are spring annotations inherited?

1 Answers  


Categories