[jboss-jira] [JBoss JIRA] (WFLY-217) Strict location check of persistence.xml deployments

Jason Greene (JIRA) jira-events at lists.jboss.org
Fri May 17 22:08:37 EDT 2013


     [ https://issues.jboss.org/browse/WFLY-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jason Greene updated WFLY-217:
------------------------------

    Fix Version/s: 8.0.0.Alpha2
                       (was: 8.0.0.Alpha1)

    
> Strict location check of persistence.xml deployments
> ----------------------------------------------------
>
>                 Key: WFLY-217
>                 URL: https://issues.jboss.org/browse/WFLY-217
>             Project: WildFly
>          Issue Type: Enhancement
>          Components: JPA / Hibernate
>            Reporter: Bartosz Baranowski
>            Assignee: Scott Marlow
>            Priority: Minor
>             Fix For: 8.0.0.Alpha2
>
>
> As of: https://github.com/jbossas/jboss-as/commit/38815193011fba624170a7d938118ee630b6ccb2 it is possible to deploy persistence.xml from invalid location:
> As per JPA spec(https://docs.jboss.org/author/display/AS71/JPA+Reference+Guide), valid locations are:
>  - an EJB-JAR file
>  - the WEB-INF/classes directory of a WAR file
>  - a jar file in the WEB-INF/lib directory of a WAR file
>  - a jar file in the EAR library directory
>  - an application client jar file

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list