[jboss-user] [EJB 3.0] - Re: Unknown entity exception when Entities are in multiple j

taccart do-not-reply at jboss.com
Tue Feb 26 05:54:42 EST 2008


Maybe adding the external C1-ejb.jar in persistence.xml of C2-ejb.jar
is sufficient ? 

in C2-ejb.jar /META-INF/persistence.xml you'd have something like

<persistence-unit name="yourC2stuff">
<jta-data-source>java:/yourC2DSstuff</jta-data-source>
<jar-file>../c1-ejb.jar</jar-file> 
...



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

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



More information about the jboss-user mailing list