Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13714

JPA PersistenceUnitInfo.persistenceUnitRootUrl vfs URL should be resolved

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 20.0.1.Final
    • JPA / Hibernate
    • None

    Description

      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.

       

       

       

       

      Attachments

        Activity

          People

            smarlow1@redhat.com Scott Marlow
            java202020 Java Java (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: