]
Java Java updated WFLY-13714:
-----------------------------
Affects Version/s: 20.0.1.Final
JPA PersistenceUnitInfo.persistenceUnitRootUrl vfs URL should be
resolved
-------------------------------------------------------------------------
Key: WFLY-13714
URL:
https://issues.redhat.com/browse/WFLY-13714
Project: WildFly
Issue Type: Bug
Affects Versions: 20.0.1.Final
Reporter: Java Java
Assignee: Brian Stansberry
Priority: Major
Wildlfy passes a PersistenceUnitInfo object to JPA provider using vfs URL as
persistenceUnitRootUrl, e.g.,
vfs:/C:/wildfly-20.0.1.Final/bin/content/foo.ear/myejb.jar/
A JPA provider can not resolve this URL without using a third-party library and thus
force
the JPA provider to have dependency on 3rd party libraries or wildfly.
The vfs url should be resolved to a plain file or jar URL that actually exists on file
system before passing the URL to a JPA provider when creating an EntityManagerFactory.