A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
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?
How to get the starting position of a string using hibernate query.
Hibernate multi row insert
How to call stored procedure through Hibernate?
Stored Procedure + Hibernate + DB2
Calling stored procedures from hibernate
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014