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

Cache PersistenceProviders within the same deployment

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • None
    • JPA / Hibernate
    • None

    Description

      See wildfly-dev ml discussion http://lists.jboss.org/pipermail/wildfly-dev/2014-September/002984.html about calls to PersistenceProviderResolver.getPersistenceProviders() should return a cached list. The cache should be per deployment.

      We can probably reuse our PersistenceProviderResolverImpl.persistenceProviderPerClassLoader map, just need to be careful that addDeploymentSpecificPersistenceProvider() is called early before any calls to getPersistenceProviders().

      Attachments

        Activity

          People

            smarlow1@redhat.com Scott Marlow
            smarlow1@redhat.com Scott Marlow
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: