Java Java created WFLY-13714:
--------------------------------
Summary: JPA PersistenceUnitInfo.persistenceUnitRootUrl vfs URL should be
resolved
Key: WFLY-13714
URL:
https://issues.redhat.com/browse/WFLY-13714
Project: WildFly
Issue Type: Bug
Reporter: Java Java
Assignee: Brian Stansberry
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.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)