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