1 <ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd">
\r
2 <diskStore path="ehcache.disk.store.dir/hibernate" />
\r
3 <cacheManagerEventListenerFactory class="" properties="" />
\r
6 Hibernate will use the defaultCache unless custom configurations are defined
\r
7 below for individual domain objects, collection, queries, etc.
\r
11 maxElementsInMemory="10000"
\r
13 timeToIdleSeconds="600"
\r
14 overflowToDisk="false"
\r
18 Tracks the timestamps of the most recent updates to particular tables. It is
\r
19 important that the cache timeout of the underlying cache implementation be
\r
20 set to a higher value than the timeouts of any of the query caches. In fact,
\r
21 it is recommend that the the underlying cache not be configured for expiry
\r
26 name="org.hibernate.cache.UpdateTimestampsCache"
\r
27 maxElementsInMemory="5000"
\r
29 overflowToDisk="false"
\r
33 The cache name is the same as the class name specified in your Hibernate
\r
38 name="com.liferay.portal.model.impl.UserImpl"
\r
39 maxElementsInMemory="10000"
\r
41 timeToIdleSeconds="600"
\r
42 overflowToDisk="false"
\r