• Post Reply Bookmark Topic Watch Topic
  • New Topic

Named Query not found  RSS feed

 
Gaurav Chikara
Ranch Hand
Posts: 413
  • 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: 17309
11
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: 413
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!