This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes Named Query not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Named Query not found" Watch "Named Query not found" New topic
Author

Named Query not found

Gaurav Chikara
Ranch Hand

Joined: Jun 09, 2000
Posts: 410
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?


SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17275
    
    6

What is your Java code to get the named query?

Mark


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
Gaurav Chikara
Ranch Hand

Joined: Jun 09, 2000
Posts: 410
I was able to resolve this.Thanks a bunch for your offer to help
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Named Query not found
 
It's not a secret anymore!