[
https://issues.jboss.org/browse/AS7-5474?page=com.atlassian.jira.plugin.s...
]
Scott Marlow commented on AS7-5474:
-----------------------------------
Since VFS urls cannot be easily converted to FILE urls, AS will just support VFS urls.
Persistence providers need to handle the "other url" formats also.
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
Fix For: 7.2.0.Alpha1
Attachments: vjpa_jboss_example.jar
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