]
Scott Marlow updated WFLY-3853:
-------------------------------
Forum Reference:
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.Beta1
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().