users@glassfish.java.net

NamedQueries Scope?

From: <glassfish_at_javadesktop.org>
Date: Fri, 22 Jun 2007 10:55:03 PDT

Why can I only define a NamedQuery outside of class? If I try creating one inside I always end up with the annotation type not applicable to this kind of declaration
error. This somewhat limits the usefulness of these.
[Message sent by forum member 'samdoyle' (samdoyle)]

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