Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5137

Add immutable-entity cache container entry for the Hibernate second level cache

XMLWordPrintable

      Add immutable-entity to https://github.com/wildfly/wildfly/blob/master/clustering/infinispan/extension/src/main/resources/subsystem-templates/infinispan.xml#L39

      <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>

      Also see discussion on http://lists.jboss.org/pipermail/hibernate-dev/2015-August/013297.html

              smarlow1@redhat.com Scott Marlow
              smarlow1@redhat.com Scott Marlow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: