
Originally Posted by
angryangel9
Hey spagilla,
it has been a while since you posted this thread and i think you actually solved this problem. I had it too and found your thread but no solution. After some time i found out whats wrong and want't to post my solution for all the others having this problem.
I made the mistake to place the <query> element inside the <class> one. Hibernate in combination with Spring didn't find it there. To fix it just place the <query> element outside the <class> one but inside the <hibernate-mapping> element.
Greetz AngryAngel