GeeCON Prague 2014*
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
 
GeeCON Prague 2014
 
subject: Calling a stored procedure using Hibernate