Ilya Sorokoumov [http://community.jboss.org/people/ilya40umov] created the discussion
"Re: Weired JPA named query @NamedQuery behaviour" To view the discussion, visit: http://community.jboss.org/message/582735#582735 -------------------------------------------------------------- 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 [http://community.jboss.org/message/582735#582735] Start a new discussion in EJB3 at Community [http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2029]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
