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 Murach's Java Servlets and JSP this week in the Servlets 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: 3011
    
  34

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


Founder of ExamLab and Systemup
See how I can help you to become an awesome programmer
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
Only one question in Stored procedure.
Oracle Java Stored Procedure ... Urgent help needed.
Spring hibernate issue
Query on arraylist
How resultset is returned by stored procedure?