persistence@glassfish.java.net

Re: empty NamedQueries annotation?

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Thu, 07 Sep 2006 17:25:44 -0700

It's legal, so definitely not an error, but useless.

-marina

Rochelle Raccah wrote:
> I just filed NetBeans bug
> <http://www.netbeans.org/issues/show_bug.cgi?id=84488>
>
> Is an empty NamedQueries annotation allowed?
>
> Should it be caught by the verifier as a warning or error?
>
> Thanks,
> Rochelle