Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with stored procedure in Hibernate

 
Prabha Suresh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 62
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic