A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
How to call Stored Procedure from Hibernate?
Joined: Apr 14, 2004
Feb 01, 2010 09:53:30
You call a stored procedure as a named query. This has been part of Hibernate since v2. Check the documentation to find out how.
Joined: Jan 12, 2010
Feb 04, 2010 23:10:11
You can called the stored procedure through Named Query by preparing the stored procedure in the respective hbm.xml file inside sql-query tag.
I agree. Here's the link:
subject: How to call Stored Procedure from Hibernate?
Hibernate multi row insert
Calling stored procedures from hibernate
How to call stored procedure through Hibernate?
Stored Procedure + Hibernate + DB2
How to get the starting position of a string using hibernate query.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015