Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Named Query not found

 
Gaurav Chikara
Ranch Hand
Posts: 412
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All

I am using the following mapping file in hibernate and on runtime I get the exception


My mapping file is following



I am not sure what could be the reason for it.I have used named queries before and it used to work. Am I missing something?
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is your Java code to get the named query?

Mark
 
Gaurav Chikara
Ranch Hand
Posts: 412
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was able to resolve this.Thanks a bunch for your offer to help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic