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

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


    [ http://jira.jboss.com/jira/browse/EJBTHREE-723?page=comments#action_12344606 ] 
            
Heiko W. Rupp commented on EJBTHREE-723:
----------------------------------------

This happens with zipped and unzipped EAR-archives (just to let you know)

> 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