[jboss-user] [EJB3] - Re: Persistence unit issues when migrating to JBOSS 5.1.0

Lars Bohl do-not-reply at jboss.com
Mon Nov 8 04:57:09 EST 2010

Lars Bohl [http://community.jboss.org/people/bohl] created the discussion

"Re: Persistence unit issues when migrating to JBOSS 5.1.0"

To view the discussion, visit: http://community.jboss.org/message/569911#569911

Sorry for waking up this old thread. I have a question about this:
> > For the record - my statement is incorrect. The EJB3 spec doesn't _not_ specify that the persistence.xml can be placed in the META-INF of the .ear. According to the spec, for scoping a persistence unit at ear level, the persistence.xml should be packaged in:
> *  META-INF of a jar file in the root of the EAR
> or*  META-INF of a jar file in the EAR library directory
I'm not sure which document is meant with "EJB3 spec", could you please post a link? If you meant this document  http://download.oracle.com/javaee/6/api/ http://download.oracle.com/javaee/6/api/ .., I can't find any deployment rules for .ear files in there.

Reply to this message by going to Community

Start a new discussion in EJB3 at Community

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20101108/8740a9dc/attachment.html 

More information about the jboss-user mailing list