File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Head First Android
this week in the
Object Relational Mapping
Calling stored procedures from hibernate
Raj Kumar Bindal
Joined: Apr 15, 2006
Nov 01, 2010 12:57:11
Can we call any type of stored procedure from hibernate(e.g. calling stored procedure returning multiple values etc)?
Is it something that only stored procedures returning sys_refcursor can be called from hibernate?
Joined: Apr 14, 2004
Nov 02, 2010 03:14:53
So long as a stored procedure returns a result set as the first out parameter you can call it from Hibernate. See the
for an example.
One thing worth thinking about is
you might want to call a stored procedure from Hibernate. Unless it is because you have no choice its not something I'd choose to do.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Calling stored procedures from hibernate
About Hibernate Support for StoredProcedure
stored procedures in hibernate
How resultset is returned by stored procedure?
how do i get this boolean
Any sucess using Hibernate, MySQL, and sql-update with stored procedures?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015