Subversion Repositories WebE

Compare Revisions

Last modification

Regard whitespace Rev 18 → Rev 19

/trunk/src/hibernate.cfg.xml
12,8 → 12,22
<property name="connection.pool_size">1</property>
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
<!-- Print all generated SQL to the console -->
<property name="show_sql">true</property>
<property name="hbm2ddl.auto">create</property>
<property name="format_sql">true</property>
<!--
<property name="connection.provider_class">
org.hibernate.connection.C3P0ConnectionProvider
</property>-->
<!-- 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.User" />
</session-factory>
</hibernate-configuration>