[jboss-user] [EJB 3.0] - Re: Persistence unit dependency failure on deploy

mtuckah do-not-reply at jboss.com
Fri Aug 11 15:17:49 EDT 2006


Hey Scott,

That approach works but only if you have a second persistence.xml in mysessions.jar/META-INF which references myentities.jar AND if you give the persistence unit a different name. So each component in your app would be using different unitName's when injecting their entity managers.

That doesn't seem right to me.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964681#3964681

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964681



More information about the jboss-user mailing list