Annotation metadata must be available to the compiler, so it is impossible to inject this
way if you depend upon a runtime value.
If you're not using bleeding-edge builds (ie. trunk), you may instead look up the EMF
or EM in JNDI if you opt to bind them there:
http://docs.jboss.org/ejb3/app-server/tutorial/jndibinding/jndi.html
S,
ALR
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177000#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...