[jboss-user] [EJB 3.0] - Re: Single persistence.xml file with multiple EJB jars

jaikiran do-not-reply at jboss.com
Thu Mar 27 10:36:59 EDT 2008


As far as i know, JBoss does not look in the META-INF folder for the persistence.xml file. The documentation at http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/entityconfig.html says this:
anonymous wrote : 
  | 3.2.2. persistence.xml and .jar files
  | 
  | Entities are placed in a EJB-JAR .jar file or a .jar file all their own. You must also define a persistence.xml file that resides in the META-INF folder of the .jar file.  

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

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



More information about the jboss-user mailing list