wood burning stoves 2.0*
The moose likes Object Relational Mapping and the fly likes Problem with stored procedure in Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Problem with stored procedure in Hibernate" Watch "Problem with stored procedure in Hibernate" New topic
Author

Problem with stored procedure in Hibernate

Prabha Suresh
Greenhorn

Joined: Sep 23, 2006
Posts: 2
Hi,
I am using a simple stored procedure as named query in Hibernate.
When I call
Query query = session.getNamedQuery("nameQuery");
List list = query.list();

I am getting the error "bind value does not exist"

Can any one tell me how to use stored procedure as named query in Hibernate??
My database is Oracle8i.

Thank you..
Vilpesh Mistry
Ranch Hand

Joined: May 27, 2003
Posts: 62
Hi
one friend of mine had long back referred me this URL,
Please check if you find any solution here

http://www.hibernate.org/hib_docs/v3/reference/en/html/querysql.html#querysql-limits-storedprocedures

thanks


Thanks.
 
Consider Paul's rocket mass heater.
 
subject: Problem with stored procedure in Hibernate
 
Similar Threads
Stored Procedure + Hibernate + DB2
Not able to read ResultSet from as400 stored procedure
Executing stored procedures in hibernate
How to call Stored Procedure from Hibernate?
Calling stored procedure from hibernate