It's not a secret anymore!
The moose likes Object Relational Mapping and the fly likes Spring JdbcTemplate issue for calling stored procedure Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply locked New topic

Spring JdbcTemplate issue for calling stored procedure

Bbunty Shinde

Joined: Jun 16, 2010
Posts: 2
I am trying to call stored procedure(in DB2 database) using JdbcTemplate.There are 60 to 70 stored procedure,we are using in our project.So should I make StoredProcedure class for each stored procedure?
Kindly tell me the approach with sample example.
We greatly appreciate your suggestions.
Devaka Cooray
ExamLab Creator

Joined: Jul 29, 2008
Posts: 3603

"abs sbs", please check your private messages regarding an important administrative matter.

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
David Newton

Joined: Sep 29, 2008
Posts: 12617

Which is it, HibernateTemplate or JdbcTemplate?

The Hibernate documentation has an example of stored procs for JdbcTemplate.
Paul Sturrock

Joined: Apr 14, 2004
Posts: 10336

Please don't post the same question in more than one topics.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Spring JdbcTemplate issue for calling stored procedure
It's not a secret anymore!