[hibernate-dev] Feedback on the idea of PersistenceProviderResolver.getPersistenceProviders() caching the same org.hibernate.ejb.HibernatePersistence class instance for multiple application deployments to share ...
Scott Marlow
smarlow at redhat.com
Fri Sep 12 16:02:06 EDT 2014
Hello,
How would Hibernate ORM react to its persistence provider class instance
being used with multiple application deployments? Is there any "per
application" state in the ORM persistence provider class instance?
A few different implementations of
javax.persistence.spi.PersistenceProviderResolver.getPersistenceProviders()
are not caching the returned PersistenceProvider class instances. [1]
raised the issue with the WildFly
PersistenceProviderResolver.getPersistenceProviders() not caching the
provider class instances for reuse.
Same question for OGM, is there any "per application state" in the OGM
persistence provider class?
Scott
[1]
http://lists.jboss.org/pipermail/wildfly-dev/2014-September/002984.html
is the thread which raised this as a performance issue.
More information about the hibernate-dev
mailing list