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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with stored procedure in Hibernate