开发者

JPA: NamedQuery of name: <query> not found

开发者 https://www.devze.com 2023-02-23 06:36 出处:网络
I\'m using Netbeans 6.9.1 and TopLink Essentials for the JPA. I had followed the necessary steps for JPA connection.

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 e开发者_开发知识库xception always return to me

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

How is this possible and how can I resolve this?


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

0

精彩评论

暂无评论...
验证码 换一张
取 消