[jboss-user] [EJB3] - Re: Weired JPA named query @NamedQuery behaviour
Ilya Sorokoumov
do-not-reply at jboss.com
Mon Jan 24 06:18:18 EST 2011
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]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110124/ee4c11b6/attachment-0001.html
More information about the jboss-user
mailing list