This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how can i call stored procedure from hibernatetemplate class using spring 2.5

 
srinivas chintha
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any one please tell me how to call stored procedure from HibernateTemplate class using spring 2.5???

please provide sample code snippet also..i need example without annotations.

 
Martin Vajsar
Sheriff
Pie
Posts: 3747
62
Chrome Netbeans IDE Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch, Srinivas!

I've moved your question to the Spring forum, as I believe you'll get better and faster response here. Choosing the right forum will probably help you get a response faster, as described in CarefullyChooseOneForum.
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Use HibernateTemplates findByNamedQuery to execute it. I would not use HibernateTemplate unless you are using a really old version of Hibernate
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
srinivas chintha,

Please post a reply rather than editing your original post. There are few reasons for this:

1. People may not notice you have edited your original post and not revisit the topic. It was just dumb luck that I noticed it myself.
2. It keeps the threads orderly. If people have to go back and forth through the replies to look for changes it makes it hard to follow and people are going to move on. Posting replies for new information keeps the thread moving in a sequential fashion.
3. Editing your original post potentially makes the replies look stupid. In this case you added 'i need example without annotations. ' my post that gives you an example with annotations now looks out of place.
 
srinivas chintha
Greenhorn
Posts: 8
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello i need example without annotations...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic