aspose file tools
The moose likes Object Relational Mapping and the fly likes Problem with stored procedure in Hibernate Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply 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: 60
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with stored procedure in Hibernate
 
Similar Threads
Calling stored procedure from hibernate
Not able to read ResultSet from as400 stored procedure
How to call Stored Procedure from Hibernate?
Executing stored procedures in hibernate
Stored Procedure + Hibernate + DB2