[jboss-jira] [JBoss JIRA] (WFLY-13714) JPA PersistenceUnitInfo.persistenceUnitRootUrl vfs URL should be resolved
Java Java (Jira)
issues at jboss.org
Wed Jul 29 23:32:00 EDT 2020
[ https://issues.redhat.com/browse/WFLY-13714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
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.
>
>
>
>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list