source: trunk/config/dist/ehcache.xml @ 6633

Last change on this file since 6633 was 6633, checked in by Nicklas Nordborg, 8 years ago

References #1742: Upgrade to Hibernate 4.x

Replacing outer-join="auto" with nothing since Hibernate complained about outer-join being deprecated.

Also making some configuration options for ehcache that Hibernate wanted to use.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Date Id
File size: 8.2 KB
Line 
1<?xml version="1.0" encoding="UTF-8" ?>
2<!--
3  $Id: ehcache.xml 6633 2014-11-28 14:08:23Z nicklas $
4
5  Copyright (C) 2006 Nicklas Nordborg
6
7  This file is part of BASE - BioArray Software Environment.
8  Available at http://base.thep.lu.se/
9
10  BASE is free software; you can redistribute it and/or
11  modify it under the terms of the GNU General Public License
12  as published by the Free Software Foundation; either version 3
13  of the License, or (at your option) any later version.
14
15  BASE is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  GNU General Public License for more details.
19
20  You should have received a copy of the GNU General Public License
21  along with BASE. If not, see <http://www.gnu.org/licenses/>.
22-->
23<ehcache>
24  <diskStore path="java.io.tmpdir"/>
25  <defaultCache
26    maxElementsInMemory="100"
27    eternal="false"
28    timeToIdleSeconds="3600"
29    timeToLiveSeconds="3600"
30    overflowToDisk="false"
31  />
32  <cache
33    name="org.hibernate.cache.spi.UpdateTimestampsCache"
34    maxElementsInMemory="200"
35    eternal="true"
36  />
37  <cache
38    name="org.hibernate.cache.internal.StandardQueryCache"
39    maxElementsInMemory="200"
40    eternal="true"
41  />
42  <cache
43    name="net.sf.basedb.core.data.AnnotationTypeData"
44    maxElementsInMemory="100"
45    eternal="false"
46    timeToIdleSeconds="3600"
47    timeToLiveSeconds="3600"
48    overflowToDisk="false"
49  />
50  <cache
51    name="net.sf.basedb.core.data.AnnotationTypeCategoryData"
52    maxElementsInMemory="100"
53    eternal="false"
54    timeToIdleSeconds="3600"
55    timeToLiveSeconds="3600"
56    overflowToDisk="false"
57  />
58  <cache
59    name="net.sf.basedb.core.data.BioMaterialData"
60    maxElementsInMemory="500"
61    eternal="false"
62    timeToIdleSeconds="3600"
63    timeToLiveSeconds="3600"
64    overflowToDisk="false"
65  />
66  <cache
67    name="net.sf.basedb.core.data.BioPlateData"
68    maxElementsInMemory="100"
69    eternal="false"
70    timeToIdleSeconds="3600"
71    timeToLiveSeconds="3600"
72    overflowToDisk="false"
73  />
74  <cache
75    name="net.sf.basedb.core.data.BioPlateEventTypeData"
76    maxElementsInMemory="100"
77    eternal="false"
78    timeToIdleSeconds="3600"
79    timeToLiveSeconds="3600"
80    overflowToDisk="false"
81  />
82  <cache
83    name="net.sf.basedb.core.data.BioPlateTypeData"
84    maxElementsInMemory="100"
85    eternal="false"
86    timeToIdleSeconds="3600"
87    timeToLiveSeconds="3600"
88    overflowToDisk="false"
89  />
90  <cache
91    name="net.sf.basedb.core.data.DataFileTypeData"
92    maxElementsInMemory="100"
93    eternal="false"
94    timeToIdleSeconds="3600"
95    timeToLiveSeconds="3600"
96    overflowToDisk="false"
97  />
98  <cache
99    name="net.sf.basedb.core.data.DirectoryData"
100    maxElementsInMemory="100"
101    eternal="false"
102    timeToIdleSeconds="3600"
103    timeToLiveSeconds="3600"
104    overflowToDisk="false"
105  />
106  <cache
107    name="net.sf.basedb.core.data.ExperimentData"
108    maxElementsInMemory="100"
109    eternal="false"
110    timeToIdleSeconds="3600"
111    timeToLiveSeconds="3600"
112    overflowToDisk="false"
113  />
114  <cache
115    name="net.sf.basedb.core.data.FormulaData"
116    maxElementsInMemory="100"
117    eternal="false"
118    timeToIdleSeconds="3600"
119    timeToLiveSeconds="3600"
120    overflowToDisk="false"
121  />
122  <cache
123    name="net.sf.basedb.core.data.FormulaData.formulas"
124    maxElementsInMemory="100"
125    eternal="false"
126    timeToIdleSeconds="3600"
127    timeToLiveSeconds="3600"
128    overflowToDisk="false"
129  />
130  <cache
131    name="net.sf.basedb.core.data.GroupData"
132    maxElementsInMemory="100"
133    eternal="false"
134    timeToIdleSeconds="3600"
135    timeToLiveSeconds="3600"
136    overflowToDisk="false"
137  />
138  <cache
139    name="net.sf.basedb.core.data.HelpData"
140    maxElementsInMemory="100"
141    eternal="false"
142    timeToIdleSeconds="3600"
143    timeToLiveSeconds="3600"
144    overflowToDisk="false"
145  />
146  <cache
147    name="net.sf.basedb.core.data.ItemSubtypeData"
148    maxElementsInMemory="100"
149    eternal="false"
150    timeToIdleSeconds="3600"
151    timeToLiveSeconds="3600"
152    overflowToDisk="false"
153  />
154  <cache
155    name="net.sf.basedb.core.data.MimeTypeData"
156    maxElementsInMemory="100"
157    eternal="false"
158    timeToIdleSeconds="3600"
159    timeToLiveSeconds="3600"
160    overflowToDisk="false"
161  />
162  <cache
163    name="net.sf.basedb.core.data.NewsData"
164    maxElementsInMemory="100"
165    eternal="false"
166    timeToIdleSeconds="3600"
167    timeToLiveSeconds="3600"
168    overflowToDisk="false"
169  />
170  <cache
171    name="net.sf.basedb.core.data.PhysicalBioAssayData"
172    maxElementsInMemory="100"
173    eternal="false"
174    timeToIdleSeconds="3600"
175    timeToLiveSeconds="3600"
176    overflowToDisk="false"
177  />
178  <cache
179    name="net.sf.basedb.core.data.PlateData"
180    maxElementsInMemory="100"
181    eternal="false"
182    timeToIdleSeconds="3600"
183    timeToLiveSeconds="3600"
184    overflowToDisk="false"
185  />
186  <cache
187    name="net.sf.basedb.core.data.PlateEventTypeData"
188    maxElementsInMemory="100"
189    eternal="false"
190    timeToIdleSeconds="3600"
191    timeToLiveSeconds="3600"
192    overflowToDisk="false"
193  />
194  <cache
195    name="net.sf.basedb.core.data.PlateGeometryData"
196    maxElementsInMemory="100"
197    eternal="false"
198    timeToIdleSeconds="3600"
199    timeToLiveSeconds="3600"
200    overflowToDisk="false"
201  />
202  <cache
203    name="net.sf.basedb.core.data.PlateTypeData"
204    maxElementsInMemory="100"
205    eternal="false"
206    timeToIdleSeconds="3600"
207    timeToLiveSeconds="3600"
208    overflowToDisk="false"
209  />
210  <cache
211    name="net.sf.basedb.core.data.PlatformData"
212    maxElementsInMemory="100"
213    eternal="false"
214    timeToIdleSeconds="3600"
215    timeToLiveSeconds="3600"
216    overflowToDisk="false"
217  />
218  <cache
219    name="net.sf.basedb.core.data.PlatformVariantData"
220    maxElementsInMemory="100"
221    eternal="false"
222    timeToIdleSeconds="3600"
223    timeToLiveSeconds="3600"
224    overflowToDisk="false"
225  />
226  <cache
227    name="net.sf.basedb.core.data.PluginConfigurationData"
228    maxElementsInMemory="100"
229    eternal="false"
230    timeToIdleSeconds="3600"
231    timeToLiveSeconds="3600"
232    overflowToDisk="false"
233  />
234  <cache
235    name="net.sf.basedb.core.data.PluginDefinitionData"
236    maxElementsInMemory="100"
237    eternal="false"
238    timeToIdleSeconds="3600"
239    timeToLiveSeconds="3600"
240    overflowToDisk="false"
241  />
242  <cache
243    name="net.sf.basedb.core.data.PluginTypeData"
244    maxElementsInMemory="100"
245    eternal="false"
246    timeToIdleSeconds="3600"
247    timeToLiveSeconds="3600"
248    overflowToDisk="false"
249  />
250  <cache
251    name="net.sf.basedb.core.data.ProjectData"
252    maxElementsInMemory="100"
253    eternal="false"
254    timeToIdleSeconds="3600"
255    timeToLiveSeconds="3600"
256    overflowToDisk="false"
257  />
258  <cache
259    name="net.sf.basedb.core.data.QuantityData"
260    maxElementsInMemory="100"
261    eternal="false"
262    timeToIdleSeconds="3600"
263    timeToLiveSeconds="3600"
264    overflowToDisk="false"
265  />
266  <cache
267    name="net.sf.basedb.core.data.QuotaData"
268    maxElementsInMemory="100"
269    eternal="false"
270    timeToIdleSeconds="3600"
271    timeToLiveSeconds="3600"
272    overflowToDisk="false"
273  />
274  <cache
275    name="net.sf.basedb.core.data.QuotaTypeData"
276    maxElementsInMemory="100"
277    eternal="false"
278    timeToIdleSeconds="3600"
279    timeToLiveSeconds="3600"
280    overflowToDisk="false"
281  />
282  <cache
283    name="net.sf.basedb.core.data.RawBioAssayData"
284    maxElementsInMemory="100"
285    eternal="false"
286    timeToIdleSeconds="3600"
287    timeToLiveSeconds="3600"
288    overflowToDisk="false"
289  />
290  <cache
291    name="net.sf.basedb.core.data.RoleData"
292    maxElementsInMemory="100"
293    eternal="false"
294    timeToIdleSeconds="3600"
295    timeToLiveSeconds="3600"
296    overflowToDisk="false"
297  />
298  <cache
299    name="net.sf.basedb.core.data.TagData"
300    maxElementsInMemory="100"
301    eternal="false"
302    timeToIdleSeconds="3600"
303    timeToLiveSeconds="3600"
304    overflowToDisk="false"
305  />
306  <cache
307    name="net.sf.basedb.core.data.UnitData"
308    maxElementsInMemory="100"
309    eternal="false"
310    timeToIdleSeconds="3600"
311    timeToLiveSeconds="3600"
312    overflowToDisk="false"
313  />
314  <cache
315    name="net.sf.basedb.core.data.UnitSymbolData"
316    maxElementsInMemory="100"
317    eternal="false"
318    timeToIdleSeconds="3600"
319    timeToLiveSeconds="3600"
320    overflowToDisk="false"
321  />
322  <cache
323    name="net.sf.basedb.core.data.UserData"
324    maxElementsInMemory="100"
325    eternal="false"
326    timeToIdleSeconds="3600"
327    timeToLiveSeconds="3600"
328    overflowToDisk="false"
329  />
330  <cache
331    name="net.sf.basedb.core.data.ArrayBatchData"
332    maxElementsInMemory="100"
333    eternal="false"
334    timeToIdleSeconds="3600"
335    timeToLiveSeconds="3600"
336    overflowToDisk="false"
337  />
338  <cache
339    name="net.sf.basedb.core.data.ArrayDesignData"
340    maxElementsInMemory="100"
341    eternal="false"
342    timeToIdleSeconds="3600"
343    timeToLiveSeconds="3600"
344    overflowToDisk="false"
345  />
346  <cache
347    name="net.sf.basedb.core.data.ArraySlideData"
348    maxElementsInMemory="100"
349    eternal="false"
350    timeToIdleSeconds="3600"
351    timeToLiveSeconds="3600"
352    overflowToDisk="false"
353  />
354</ehcache> 
355
Note: See TracBrowser for help on using the repository browser.