jpaentitytoplinktoplink-essentials

JPA: NamedQuery of name: <query> not found


I'm using Netbeans 6.9.1 and TopLink Essentials for the JPA. I had followed the necessary steps for JPA connection.

Yet when I execute a named query in a particular entity. This exception always return to me

NamedQuery of name: [the query name] not found.

How is this possible and how can I resolve this?


Solution

  • I had solved the problem. I can't be sure but overwriting the persistence.xml seemed to be a solution