[jboss-user] [EJB 3.0] - JARs in EAR using single orm.xml

FrankTheTank do-not-reply at jboss.com
Mon Feb 16 09:22:30 EST 2009


I hope this is the correct sub-forum.

I have one EAR with multiple Jars that each contain their own orm.xml (besides persistence.xml and ejb-jar.xml).
Each of the jars contains one Pojo defined via Deployment Descirptor as an Entity.

When they are deployed I can clearly see that while for each jar the system tries to map the Pojos as Entities, but each time uses the same first orm.xml that was deployed.
Thus my other Pojos are not mapped.

Am I doing something wrong?

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

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



More information about the jboss-user mailing list