source: trunk/src/hibernate.cfg.xml @ 1478

Last change on this file since 1478 was 1478, checked in by Nicklas Nordborg, 17 years ago

Added c3p0 connection pool and updated license information
for 3rd-party components.

File size: 4.6 KB
Line 
1<?xml version="1.0" ?>
2<!DOCTYPE hibernate-configuration PUBLIC
3  "-//Hibernate/Hibernate Configuration DTD//EN"
4  "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
5<!--
6  $Id$
7
8  BioArray Software Environment (BASE) - http://base.thep.lu.se/
9  Copyright (C) 2002-2004 Lao Saal, Carl Troein,
10  Johan Vallon-Christersson, Jari H&auml;kkinen, Nicklas Nordborg
11
12  This file is part of BASE.
13
14  BASE is free software; you can redistribute it and/or
15  modify it under the terms of the GNU General Public License
16  as published by the Free Software Foundation; either version 2
17  of the License, or (at your option) any later version.
18
19  BASE is distributed in the hope that it will be useful,
20  but WITHOUT ANY WARRANTY; without even the implied warranty of
21  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22  GNU General Public License for more details.
23
24  You should have received a copy of the GNU General Public License
25  along with this program; if not, write to the Free Software
26  Foundation, Inc., 59 Temple Place - Suite 330,
27  Boston, MA  02111-1307, USA.
28-->
29<hibernate-configuration>
30  <session-factory>
31    <property name="cache.use_query_cache">true</property>
32    <property name="connection.provider_class">
33      org.hibernate.connection.C3P0ConnectionProvider
34    </property>
35    <property name="c3p0.min_size">1</property>
36    <property name="c3p0.max_size">20</property>
37    <property name="c3p0.timeout">3600</property>
38    <property name="cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
39    <class-cache
40      class="net.sf.basedb.core.data.AnnotationTypeData"
41      usage="nonstrict-read-write"
42    />
43    <class-cache
44      class="net.sf.basedb.core.data.BioMaterialData"
45      usage="nonstrict-read-write"
46    />
47    <class-cache
48      class="net.sf.basedb.core.data.DirectoryData"
49      usage="nonstrict-read-write"
50    />
51    <class-cache
52      class="net.sf.basedb.core.data.ExperimentData"
53      usage="nonstrict-read-write"
54    />
55    <class-cache
56      class="net.sf.basedb.core.data.FileTypeData"
57      usage="nonstrict-read-write"
58    />
59    <class-cache
60      class="net.sf.basedb.core.data.GroupData"
61      usage="nonstrict-read-write"
62    />
63    <class-cache
64      class="net.sf.basedb.core.data.HardwareTypeData"
65      usage="nonstrict-read-write"
66    />
67    <class-cache
68      class="net.sf.basedb.core.data.HelpData"
69      usage="nonstrict-read-write"
70    />
71    <class-cache
72      class="net.sf.basedb.core.data.HybridizationData"
73      usage="nonstrict-read-write"
74    />
75    <class-cache
76      class="net.sf.basedb.core.data.LabelData"
77      usage="nonstrict-read-write"
78    />
79    <class-cache
80      class="net.sf.basedb.core.data.MimeTypeData"
81      usage="nonstrict-read-write"
82    />
83    <class-cache
84      class="net.sf.basedb.core.data.NewsData"
85      usage="nonstrict-read-write"
86    />
87    <class-cache
88      class="net.sf.basedb.core.data.PlateData"
89      usage="nonstrict-read-write"
90    />
91    <class-cache
92      class="net.sf.basedb.core.data.PlateEventTypeData"
93      usage="nonstrict-read-write"
94    />
95    <class-cache
96      class="net.sf.basedb.core.data.PlateGeometryData"
97      usage="nonstrict-read-write"
98    />
99    <class-cache
100      class="net.sf.basedb.core.data.PlateTypeData"
101      usage="nonstrict-read-write"
102    />
103    <class-cache
104      class="net.sf.basedb.core.data.PluginConfigurationData"
105      usage="nonstrict-read-write"
106    />
107    <class-cache
108      class="net.sf.basedb.core.data.PluginDefinitionData"
109      usage="nonstrict-read-write"
110    />
111    <class-cache
112      class="net.sf.basedb.core.data.PluginTypeData"
113      usage="nonstrict-read-write"
114    />
115    <class-cache
116      class="net.sf.basedb.core.data.ProjectData"
117      usage="nonstrict-read-write"
118    />
119    <class-cache
120      class="net.sf.basedb.core.data.ProtocolTypeData"
121      usage="nonstrict-read-write"
122    />
123    <class-cache
124      class="net.sf.basedb.core.data.QuotaData"
125      usage="nonstrict-read-write"
126    />
127    <class-cache
128      class="net.sf.basedb.core.data.QuotaTypeData"
129      usage="nonstrict-read-write"
130    />
131    <class-cache
132      class="net.sf.basedb.core.data.RawBioAssayData"
133      usage="nonstrict-read-write"
134    />
135    <class-cache
136      class="net.sf.basedb.core.data.RoleData"
137      usage="nonstrict-read-write"
138    />
139    <class-cache
140      class="net.sf.basedb.core.data.ScanData"
141      usage="nonstrict-read-write"
142    />
143    <class-cache
144      class="net.sf.basedb.core.data.SoftwareTypeData"
145      usage="nonstrict-read-write"
146    />
147    <class-cache
148      class="net.sf.basedb.core.data.UserData"
149      usage="nonstrict-read-write"
150    />
151    <class-cache
152      class="net.sf.basedb.core.data.ArrayDesignData"
153      usage="nonstrict-read-write"
154    />
155    <class-cache
156      class="net.sf.basedb.core.data.ArrayBatchData"
157      usage="nonstrict-read-write"
158    />
159    <class-cache
160      class="net.sf.basedb.core.data.ArraySlideData"
161      usage="nonstrict-read-write"
162    />
163  </session-factory>
164
165</hibernate-configuration>
166
Note: See TracBrowser for help on using the repository browser.