• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

org.hibernate.QueryParameterException: could not locate named parameter

 
Greenhorn
Posts: 12
Hibernate Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic