File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 2885
    
  13

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


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
My Home Page -- Twitter Profile -- JavaRanch FAQ -- 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
 
Similar Threads
Query on arraylist
Oracle Java Stored Procedure ... Urgent help needed.
Only one question in Stored procedure.
How resultset is returned by stored procedure?
Spring hibernate issue