JBoss Community

Re: Weired JPA named query @NamedQuery behaviour

created by Ilya Sorokoumov in EJB3 - View the full discussion

IMHO Because a static field(like "a" + "b") is calculated when java code is compiled but a static function is a runtime thing. So that Jboss may read this annotations before this functions is run.

Reply to this message by going to Community

Start a new discussion in EJB3 at Community