Issue Type: Bug Bug
Affects Versions: 4.3.0.Beta3, 4.2.2
Assignee: Galder Zamarreno
Components: caching (L2)
Created: 21/Jun/13 7:23 AM
Description:

Per entity eviction does not appear to be working:

  <persistence-unit name="primary">
     <!-- If you are running in a production environment, add a managed
        data source, this example data source is just for devleopment and
        testing! -->
     <!-- The datasource is deployed as
     WEB-INF/hibernate4-quickstart-ds.xml, you
        can find it in the source at
        src/main/webapp/WEB-INF/hibernate4-quickstart-ds.xml -->
     <jta-data-source>java:jboss/datasources/Hibernate4QuickstartDS</jta-data-source>
     <shared-cache-mode>ENABLE_SELECTIVE</shared-cache-mode>
     <properties>
        <!-- Properties for Hibernate -->
        <property name="hibernate.hbm2ddl.auto" value="create-drop" />
        <property name="hibernate.show_sql" value="false" />
        <property name="hibernate.cache.use_second_level_cache"
        value="true"/>
        <property
        name="hibernate.cache.infinispan.org.jboss.as.quickstart.hibernate4.model.Member.cfg"
        value="member-entity"/>
        <property
        name="hibernate.cache.infinispan.org.jboss.as.quickstart.hibernate4.model.Member.eviction.strategy"
        value= "LRU"/>
        <property
        name="hibernate.cache.infinispan.org.jboss.as.quickstart.hibernate4.model.Member.eviction.wake_up_interval"
        value= "1"/>
        <property
        name="hibernate.cache.infinispan.org.jboss.as.quickstart.hibernate4.model.Member.eviction.max_entries"
        value= "1"/>
        <property
        name="hibernate.cache.infinispan.org.jboss.as.quickstart.hibernate4.model.Member.expiration.lifespan"
        value= "1"/>
        <property
        name="hibernate.cache.infinispan.org.jboss.as.quickstart.hibernate4.model.Member.expiration.max_idle"
        value= "1"/>
     </properties>
  </persistence-unit>
Project: Hibernate ORM
Priority: Major Major
Reporter: Galder Zamarreno
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira