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 Calling a stored procedure using Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Calling a stored procedure using Hibernate" Watch "Calling a stored procedure using Hibernate" New topic
Author

Calling a stored procedure using Hibernate

Arjun Reddy
Ranch Hand

Joined: Nov 10, 2007
Posts: 627
Hi,

What is the best way to do it and why?

Thanks


Be Humble... Be Nice.
Divya Chandel
Ranch Hand

Joined: Jun 09, 2011
Posts: 46


Please check.


Hibernate reference documentation: Using stored procedures for querying.

http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/querysql.html#sp_query




Divya
SCJP1.6
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Calling a stored procedure using Hibernate