Meaningless Drivel is fun!
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
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: 3927

"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 agree. Here's the link:
subject: Spring JdbcTemplate issue for calling stored procedure
jQuery in Action, 3rd edition