JBoss Community

Re: Persistence unit issues when migrating to JBOSS 5.1.0

created by jaikiran pai in EJB3 - View the full discussion

Lars Bohl wrote:

 

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?

The Final Release document here http://jcp.org/en/jsr/detail?id=220

Reply to this message by going to Community

Start a new discussion in EJB3 at Community