[jboss-user] [EJB 3.0] - Re: How to pass PersistenceUnit name at run time
do-not-reply at jboss.com
Sun Oct 26 10:50:27 EDT 2008
"ALRubinger" wrote : 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:
this solution works in JBoss only, is there any other way so the application becomes portable across the App servers.
would you have a look at my topic?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4184679#4184679
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4184679
More information about the jboss-user