[jboss-jira] [JBoss JIRA] Created: (EJBTHREE-723) persistence.xml at EAR level ignored

Heiko W. Rupp (JIRA) jira-events at jboss.com
Wed Oct 4 07:32:41 EDT 2006


persistence.xml at EAR level ignored
------------------------------------

                 Key: EJBTHREE-723
                 URL: http://jira.jboss.com/jira/browse/EJBTHREE-723
             Project: EJB 3.0
          Issue Type: Bug
    Affects Versions: EJB 3.0 RC9 - FD
         Environment: EJB 3.0 RC9 FD
            Reporter: Heiko W. Rupp


EJB 3.0-persistence-fr says in 6.2.2:

An EJB-JAR, WAR, application client jar, or EAR can define a persistence unit.

In 6.2.1 it says : "The persistence.xml file is located in the META-INF direc- 
tory of the root of the persistence unit.

So I expect the following to work

foo.ear
    META-INF
        persistence.xml
       application.xml
   bar.jar

Where bar.jar has JPA-Entities, but no persistence.xml

But RC9 just silently ignores persistence.xml and thus all Entities in bar.jar

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list