Could it be that you have orm.xml or any other mapping file with the old name? Another option would be to check the classpath for one more version of the same entity that defines the query.
Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]
http://forums.java.net/jive/thread.jspa?messageID=282396