[jboss-jira] [JBoss JIRA] (WFLY-3853) Cache PersistenceProviders within the same deployment

Scott Marlow (JIRA) issues at jboss.org
Fri Sep 12 16:47:19 EDT 2014


Scott Marlow created WFLY-3853:
----------------------------------

             Summary: Cache PersistenceProviders within the same deployment
                 Key: WFLY-3853
                 URL: https://issues.jboss.org/browse/WFLY-3853
             Project: WildFly
          Issue Type: Feature Request
          Components: JPA / Hibernate
            Reporter: Scott Marlow
            Assignee: Scott Marlow
             Fix For: 9.0.0.Alpha1


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().



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list