[jboss-user] [EJB 3.0] - Re: Dynamic deployment for EJB3 component
do-not-reply at jboss.com
Wed Mar 19 03:41:24 EDT 2008
That should not be a problem if you make sure to have your data sources configured with one unique jndi-name.
Yes, the jndi name in the persistence.xml is static, but it does a name lookup and as long as your *-ds.xml maps the database to the same name, it could just work.
Just note that this presumes that only *one* *-ds.xml uses that jndi name.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4137669#4137669
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4137669
More information about the jboss-user