users@glassfish.java.net

Re: NamedQueries Scope?

From: <glassfish_at_javadesktop.org>
Date: Fri, 22 Jun 2007 11:12:24 PDT

When I define it where it requires it Target.TYPE methods of the class where I try to use it throw an exception saying that it can't find the NamedQuery. If I have a static string with the query it works fine but that sort of defeats the purposes of having NamedQueries doesn't it.
[Message sent by forum member 'samdoyle' (samdoyle)]

http://forums.java.net/jive/thread.jspa?messageID=223592