Hibernate version:
3.1
Hi,
I'm trying to replace some queries in a code, with named queries.
First time I did this, it was in my own code and I've placed all queries in a single queries.hbm.xml;
Now I'm placing queries in respective hbm files (in other words, if it selects from Sistemas table, it's placed inside the Sistemas.hbm.xml file).
The fact is that when I run the program (using JUnit) it crashes with a Named Query not known error.
What can possibily be happening?
_________________ Falci - Heavy Worker!
|