Subversion Repositories WebE

Compare Revisions

Last modification

Ignore whitespace Rev 20 → Rev 21

/trunk/src/hibernate.cfg.xml
20,14 → 20,21
<property name="connection.provider_class">
org.hibernate.connection.C3P0ConnectionProvider
</property>-->
<!-- C3P0 connection pool
<!-- C3P0 connection pool -->
<property name="hibernate.c3p0.min_size">5</property>
<property name="hibernate.c3p0.max_size">20</property>
<property name="hibernate.c3p0.timeout">300</property>
<property name="hibernate.c3p0.max_statements">50 </property>
<property name="hibernate.c3p0.idle_test_period">3000 </property>
-->
<!--<property name="hbm2ddl.auto">create</property>-->
<mapping class="ch.ffhs.webE.domain.ActionType" />
<mapping class="ch.ffhs.webE.domain.History" />
<mapping class="ch.ffhs.webE.domain.Object" />
<mapping class="ch.ffhs.webE.domain.ObjectType" />
<mapping class="ch.ffhs.webE.domain.Relationship" />
<mapping class="ch.ffhs.webE.domain.RelationshipType" />
<mapping class="ch.ffhs.webE.domain.Term" />
<mapping class="ch.ffhs.webE.domain.User" />
</session-factory>
</hibernate-configuration>