[jboss-jira] [JBoss JIRA] (WFLY-5137) Add immutable-entity cache container entry for the Hibernate second level cache
Scott Marlow (JIRA)
issues at jboss.org
Wed Aug 19 16:08:27 EDT 2015
[ https://issues.jboss.org/browse/WFLY-5137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Marlow updated WFLY-5137:
-------------------------------
Description:
Add immutable-entities to [https://github.com/wildfly/wildfly/blob/master/clustering/infinispan/extension/src/main/resources/subsystem-templates/infinispan.xml#L39]
{quote}
<cache-container name="hibernate" default-cache="local-query" module="org.hibernate.infinispan">
<local-cache name="entity">
<transaction mode="NON_XA"/>
<eviction strategy="LRU" max-entries="10000"/>
<expiration max-idle="100000"/>
</local-cache>
<local-cache name="immutable-entity">
<transaction mode="NON_XA"/>
<eviction strategy="LRU" max-entries="10000"/>
<expiration max-idle="100000"/>
</local-cache>
<local-cache name="local-query">
<eviction strategy="LRU" max-entries="10000"/>
<expiration max-idle="100000"/>
</local-cache>
<local-cache name="timestamps"/>
</cache-container>
{quote}
Also see discussion on [http://lists.jboss.org/pipermail/hibernate-dev/2015-August/013297.html]
was:
Add immutable-entities to [https://github.com/wildfly/wildfly/blob/master/clustering/infinispan/extension/src/main/resources/subsystem-templates/infinispan.xml#L39]
{quote}
<cache-container name="hibernate" default-cache="local-query" module="org.hibernate.infinispan">
<local-cache name="entity">
<transaction mode="NON_XA"/>
<eviction strategy="LRU" max-entries="10000"/>
<expiration max-idle="100000"/>
</local-cache>
<local-cache name="immutable-entities">
<transaction mode="NON_XA"/>
<eviction strategy="LRU" max-entries="10000"/>
<expiration max-idle="100000"/>
</local-cache>
<local-cache name="local-query">
<eviction strategy="LRU" max-entries="10000"/>
<expiration max-idle="100000"/>
</local-cache>
<local-cache name="timestamps"/>
</cache-container>
{quote}
Also see discussion on [http://lists.jboss.org/pipermail/hibernate-dev/2015-August/013297.html]
> Add immutable-entity cache container entry for the Hibernate second level cache
> -------------------------------------------------------------------------------
>
> Key: WFLY-5137
> URL: https://issues.jboss.org/browse/WFLY-5137
> Project: WildFly
> Issue Type: Task
> Components: Clustering, JPA / Hibernate
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Fix For: 10.0.0.Beta2
>
>
> Add immutable-entities to [https://github.com/wildfly/wildfly/blob/master/clustering/infinispan/extension/src/main/resources/subsystem-templates/infinispan.xml#L39]
> {quote}
> <cache-container name="hibernate" default-cache="local-query" module="org.hibernate.infinispan">
> <local-cache name="entity">
> <transaction mode="NON_XA"/>
> <eviction strategy="LRU" max-entries="10000"/>
> <expiration max-idle="100000"/>
> </local-cache>
> <local-cache name="immutable-entity">
> <transaction mode="NON_XA"/>
> <eviction strategy="LRU" max-entries="10000"/>
> <expiration max-idle="100000"/>
> </local-cache>
> <local-cache name="local-query">
> <eviction strategy="LRU" max-entries="10000"/>
> <expiration max-idle="100000"/>
> </local-cache>
> <local-cache name="timestamps"/>
> </cache-container>
> {quote}
> Also see discussion on [http://lists.jboss.org/pipermail/hibernate-dev/2015-August/013297.html]
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list