[jboss-jira] [JBoss JIRA] (WFLY-11010) Document 2lc/JTA integration properties and add better detection of ehcache use
Scott Marlow (JIRA)
issues at jboss.org
Tue Sep 18 16:08:00 EDT 2018
[ https://issues.jboss.org/browse/WFLY-11010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13635332#comment-13635332 ]
Scott Marlow commented on WFLY-11010:
-------------------------------------
Seems like we need an initiator per session factory, instead of per application classloader (service loader), as the WildFlyCustomRegionFactoryInitiator.resolveRegionFactory(Map configurationValues, ServiceRegistryImplementor registry) is only called once per application.
Sometimes, the ServiceContributorImpl.contribute(StandardServiceRegistryBuilder) is called more than once while debugging (with a deployment that has two persistence units) but that appears to be pure luck, as sometimes it is only called once.
> Document 2lc/JTA integration properties and add better detection of ehcache use
> -------------------------------------------------------------------------------
>
> Key: WFLY-11010
> URL: https://issues.jboss.org/browse/WFLY-11010
> Project: WildFly
> Issue Type: Bug
> Components: JPA / Hibernate
> Affects Versions: 14.0.0.Final
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Fix For: 15.0.0.Alpha1
>
>
> Document the "wildfly.jpa.regionfactory" and "wildfly.jpa.jtaplatform" properties for Hibernate ORM 5.3+ integration.
> Also automatically set "wildfly.jpa.regionfactory" to false if [ehcache is being used|http://www.ehcache.org/documentation/2.7/integrations/hibernate.html] (e.g. check if the hibernate.cache.region.factory_class value starts with "net.sf.ehcache").
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list