[jboss-jira] [JBoss JIRA] (AS7-5474) Url returned by PersistenceUnitInfo#getPersistenceUnitRootUrl() point to an empty folder

Adriano Verona (JIRA) jira-events at lists.jboss.org
Fri Aug 31 16:19:32 EDT 2012


Adriano Verona created AS7-5474:
-----------------------------------

             Summary: Url returned by PersistenceUnitInfo#getPersistenceUnitRootUrl() point to an empty folder
                 Key: AS7-5474
                 URL: https://issues.jboss.org/browse/AS7-5474
             Project: Application Server 7
          Issue Type: Bug
          Components: JPA / Hibernate
    Affects Versions: 7.2.0.Alpha1
         Environment: $ java -version
java version "1.6.0_31"

Java(TM) SE Runtime Environment (build 1.6.0_31-b05)
Java HotSpot(TM) Client VM (build 20.6-b01, mixed mode, sharing)

Windows 7 x64
            Reporter: Adriano Verona
            Assignee: Scott Marlow


When setting "jboss.as.jpa.vfs" property to false in persistence.xml PersistenceUnitInfo#getPersistenceUnitRootUrl() returns an Url  that points to an empty folder (named "Contents"). The parent of this folder does holds the application jar.

file:/D:/Java/jboss-as-7.2.0.Alpha1/standalone/tmp/vfs/temp9c270668d311f0c4/vjpa_jboss_example.jar-7ef91a4c66eeff18/contents/

Observed this at PersistenceProvider#createContainerEntityManagerFactory() method call.

--
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