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

Scott Marlow (JIRA) issues at jboss.org
Tue May 5 12:31:46 EDT 2015


     [ https://issues.jboss.org/browse/WFLY-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Scott Marlow updated WFLY-3853:
-------------------------------
    Fix Version/s: 10.0.0.Alpha1


> 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: 10.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.15#6346)


More information about the jboss-jira mailing list