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

FrankTheTank do-not-reply at jboss.com
Tue Feb 17 02:52:11 EST 2009


I am using AS 4.2.3 (jdk6) without modifications to the hibernate files.

In order to continue working I simply switched to annotations for the time being (but would like to switch back) but I can pretty much quote from memory:

Deploy jar file (once for each jar)
object mapping file found in META-INF/orm.xml
Binding object my.test.class (this file always remains the same)

I had already confirmed that each jar contains the correct orm.xml file.
I had also thought about renaming the orm.xml for each project and mapping it in the persistence.xml.

I'll revert my changes and get you a log output.

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

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



More information about the jboss-user mailing list