This week's book giveaway is in the Cloud forum.
We're giving away four copies of The Business Blockchain and have William Mougayar on-line!
See this thread for details.
Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

org.hibernate.QueryParameterException: could not locate named parameter

 
santosh malreddy
Greenhorn
Posts: 12
Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to execute a stored proc with hibernate named query. I want to pass the oracletypes as the type since I am getting this exception.
org.hibernate.HibernateException: Problem while trying to load or access OracleTypes.CURSOR value.
As a workaround I am trying to use createsqlquery but I think I am doing something wrong in passing the oracle cursor type.
Any thoughts, ideas.?



When using this way I am getting the below exception:
org.hibernate.QueryParameterException: could not locate named parameter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic