This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package br.com.weblog.model.pg; | |
import static com.google.common.base.MoreObjects.firstNonNull; | |
import java.io.Serializable; | |
/** | |
* Classe para prover paginação de resultados. | |
* | |
* @author Otávio Scherer Garcia | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<property name="hibernate.cache.region.factory_class" value="org.jboss.as.jpa.hibernate4.infinispan.InfinispanRegionFactory" /> | |
<property name="hibernate.cache.use_second_level_cache" value="true" /> | |
<property name="hibernate.cache.use_query_cache" value="true" /> | |
<property name="hibernate.cache.use_minimal_puts" value="true" /> | |
<property name="hibernate.cache.infinispan.statistics" value="false" /> | |
<property name="hibernate.cache.infinispan.entity.eviction.strategy" value="LRU" /> | |
<property name="hibernate.cache.infinispan.entity.eviction.wake_up_interval" value="2000" /> | |
<property name="hibernate.cache.infinispan.entity.eviction.max_entries" value="5000" /> |