[jboss-user] [EJB 3.0] - Re: Same datasource in multiple ear applications

ALRubinger do-not-reply at jboss.com
Tue Aug 29 15:53:57 EDT 2006


<persistence-unit name="em">

The name there's gotta be unique :/  Everything else in your persistence.xml can remain the same, and you may use just the one DS file.

If you'd like to only have one instance of your persistence.xml file, consider repackaging such that both of your Seam apps will have access to it...

S,
ALR

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

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



More information about the jboss-user mailing list