wood burning stoves 2.0*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply locked New topic
Author

Spring JdbcTemplate issue for calling stored procedure

Bbunty Shinde
Greenhorn

Joined: Jun 16, 2010
Posts: 2
Hi,
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
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3057
    
  38

"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
Author
Rancher

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
Bartender

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: http://aspose.com/file-tools
 
subject: Spring JdbcTemplate issue for calling stored procedure