api/core/conf/hibernate.cfg.xml

Code
Comments
Other
Rev Date Author Line
1746 15 Jun 07 gregory 1 <?xml version="1.0" ?>
1746 15 Jun 07 gregory 2 <!DOCTYPE hibernate-configuration PUBLIC 
1746 15 Jun 07 gregory 3   "-//Hibernate/Hibernate Configuration DTD//EN"
4429 06 Mar 13 olle 4   "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
1746 15 Jun 07 gregory 5 <!--
1746 15 Jun 07 gregory 6   $Id: hibernate.cfg.xml 805 2006-10-30 14:53:59Z gregory $
1746 15 Jun 07 gregory 7
1916 31 Aug 07 jari 8   Copyright (C) 2007 Gregory Vincic
1746 15 Jun 07 gregory 9  
1746 15 Jun 07 gregory 10    Files are copyright by their respective authors. The contributions to
1746 15 Jun 07 gregory 11    files where copyright is not explicitly stated can be traced with the
1746 15 Jun 07 gregory 12    source code revision system.
1746 15 Jun 07 gregory 13    
1746 15 Jun 07 gregory 14    This file is part of Proteios.
1746 15 Jun 07 gregory 15    Available at http://www.proteios.org/
1746 15 Jun 07 gregory 16    
1746 15 Jun 07 gregory 17    Proteios is free software; you can redistribute it and/or
1746 15 Jun 07 gregory 18    modify it under the terms of the GNU General Public License
1746 15 Jun 07 gregory 19    as published by the Free Software Foundation; either version 2
1746 15 Jun 07 gregory 20    of the License, or (at your option) any later version.
1746 15 Jun 07 gregory 21    
1746 15 Jun 07 gregory 22    Proteios is distributed in the hope that it will be useful,
1746 15 Jun 07 gregory 23    but WITHOUT ANY WARRANTY; without even the implied warranty of
1746 15 Jun 07 gregory 24    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1746 15 Jun 07 gregory 25    GNU General Public License for more details.
1746 15 Jun 07 gregory 26    
1746 15 Jun 07 gregory 27    You should have received a copy of the GNU General Public License
1746 15 Jun 07 gregory 28    along with this program; if not, write to the Free Software
1746 15 Jun 07 gregory 29    Foundation, Inc., 59 Temple Place - Suite 330,
1746 15 Jun 07 gregory 30    Boston, MA  02111-1307, USA.
1746 15 Jun 07 gregory 31   
1746 15 Jun 07 gregory 32   See http://www.hibernate.org/hib_docs/v3/reference/en/html/session-configuration.html
1746 15 Jun 07 gregory 33 -->
1746 15 Jun 07 gregory 34 <hibernate-configuration>
1746 15 Jun 07 gregory 35   <session-factory>
1746 15 Jun 07 gregory 36   
1746 15 Jun 07 gregory 37     <!-- JDBC/SQL options -->
1746 15 Jun 07 gregory 38     <property name="jdbc.batch_size">0</property>
1746 15 Jun 07 gregory 39     <property name="show_sql">false</property>
1746 15 Jun 07 gregory 40     <property name="connection.release_mode">after_transaction</property>
1746 15 Jun 07 gregory 41   
1746 15 Jun 07 gregory 42     <!-- HQL parser options -->
1746 15 Jun 07 gregory 43     <property name="query.factory_class">org.hibernate.hql.ast.ASTQueryTranslatorFactory</property>
1746 15 Jun 07 gregory 44   
1746 15 Jun 07 gregory 45     <!-- Connection pool options -->    
1746 15 Jun 07 gregory 46     <property name="connection.provider_class">org.hibernate.connection.C3P0ConnectionProvider</property>
1746 15 Jun 07 gregory 47     <property name="c3p0.min_size">1</property>
1746 15 Jun 07 gregory 48     <property name="c3p0.max_size">100</property>
1746 15 Jun 07 gregory 49     <property name="c3p0.timeout">120</property>
1746 15 Jun 07 gregory 50      <property name="c3p0.max_statements">0</property>
1746 15 Jun 07 gregory 51      
1746 15 Jun 07 gregory 52     <!-- Second-level cache options -->
1746 15 Jun 07 gregory 53     <property name="cache.provider_class">org.hibernate.cache.EhCacheProvider</property>
1746 15 Jun 07 gregory 54     <property name="cache.use_query_cache">true</property>
1746 15 Jun 07 gregory 55     <class-cache
1746 15 Jun 07 gregory 56       class="org.proteios.core.data.AnnotationTypeData"
1746 15 Jun 07 gregory 57       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 58     />
1746 15 Jun 07 gregory 59     <class-cache
1746 15 Jun 07 gregory 60       class="org.proteios.core.data.BioMaterialData"
1746 15 Jun 07 gregory 61       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 62     />
1746 15 Jun 07 gregory 63     <class-cache
1746 15 Jun 07 gregory 64       class="org.proteios.core.data.DirectoryData"
1746 15 Jun 07 gregory 65       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 66     />
1746 15 Jun 07 gregory 67     <class-cache
1746 15 Jun 07 gregory 68       class="org.proteios.core.data.FileTypeData"
1746 15 Jun 07 gregory 69       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 70     />
1746 15 Jun 07 gregory 71     <class-cache
1746 15 Jun 07 gregory 72       class="org.proteios.core.data.GroupData"
1746 15 Jun 07 gregory 73       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 74     />
1746 15 Jun 07 gregory 75     <class-cache
1746 15 Jun 07 gregory 76       class="org.proteios.core.data.HardwareTypeData"
1746 15 Jun 07 gregory 77       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 78     />
1746 15 Jun 07 gregory 79     <class-cache
1746 15 Jun 07 gregory 80       class="org.proteios.core.data.LabelData"
1746 15 Jun 07 gregory 81       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 82     />
1746 15 Jun 07 gregory 83     <class-cache
1746 15 Jun 07 gregory 84       class="org.proteios.core.data.MimeTypeData"
1746 15 Jun 07 gregory 85       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 86     />
1746 15 Jun 07 gregory 87     <class-cache
1746 15 Jun 07 gregory 88       class="org.proteios.core.data.NewsData"
1746 15 Jun 07 gregory 89       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 90     />
1746 15 Jun 07 gregory 91     <class-cache
1746 15 Jun 07 gregory 92       class="org.proteios.core.data.PluginConfigurationData"
1746 15 Jun 07 gregory 93       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 94     />
1746 15 Jun 07 gregory 95     <class-cache
1746 15 Jun 07 gregory 96       class="org.proteios.core.data.PluginDefinitionData"
1746 15 Jun 07 gregory 97       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 98     />
1746 15 Jun 07 gregory 99     <class-cache
1746 15 Jun 07 gregory 100       class="org.proteios.core.data.PluginTypeData"
1746 15 Jun 07 gregory 101       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 102     />
1746 15 Jun 07 gregory 103     <class-cache
1746 15 Jun 07 gregory 104       class="org.proteios.core.data.ProjectData"
1746 15 Jun 07 gregory 105       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 106     />
1746 15 Jun 07 gregory 107     <class-cache
1746 15 Jun 07 gregory 108       class="org.proteios.core.data.ProtocolTypeData"
1746 15 Jun 07 gregory 109       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 110     />
1746 15 Jun 07 gregory 111     <class-cache
1746 15 Jun 07 gregory 112       class="org.proteios.core.data.QuotaData"
1746 15 Jun 07 gregory 113       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 114     />
1746 15 Jun 07 gregory 115     <class-cache
1746 15 Jun 07 gregory 116       class="org.proteios.core.data.QuotaTypeData"
1746 15 Jun 07 gregory 117       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 118     />
1746 15 Jun 07 gregory 119     <class-cache
1746 15 Jun 07 gregory 120       class="org.proteios.core.data.RoleData"
1746 15 Jun 07 gregory 121       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 122     />
1746 15 Jun 07 gregory 123     <class-cache
1746 15 Jun 07 gregory 124       class="org.proteios.core.data.SoftwareTypeData"
1746 15 Jun 07 gregory 125       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 126     />
1746 15 Jun 07 gregory 127     <class-cache
1746 15 Jun 07 gregory 128       class="org.proteios.core.data.UserData"
1746 15 Jun 07 gregory 129       usage="nonstrict-read-write"
1746 15 Jun 07 gregory 130     />
1746 15 Jun 07 gregory 131   </session-factory>
1746 15 Jun 07 gregory 132
1746 15 Jun 07 gregory 133 </hibernate-configuration>
1746 15 Jun 07 gregory 134