Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting error..

 
dhriti joshi
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
when i try to change a query in my hibernate.xml and run it
i get an error
java.lang.IllegalArgumentException: Parameter xyz does not exist as a named parameter in [sql query]
am i supposed to make any changes outside hibernate.xml if
i change the querry.
thanks.
 
Theodore Casser
Ranch Hand
Posts: 1902
Hibernate Netbeans IDE PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're going to need to change the references to the query (for instance, to add/remove parameters) wherever you referred to it in custom code, but other than that, the question is what else did you change.

Hope that helps.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic