| <?xml version='1.0' encoding='utf-8'?> |
| <!-- |
| Copyright 2007 The Apache Software Foundation |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!DOCTYPE hibernate-configuration PUBLIC |
| "-//Hibernate/Hibernate Configuration DTD//EN" |
| "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> |
| |
| <hibernate-configuration> |
| |
| <session-factory> |
| <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property> |
| <property name="hibernate.connection.url">jdbc:hsqldb:mem:test</property> |
| <property name="hibernate.connection.username">sa</property> |
| <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property> |
| |
| <property name="show_sql">true</property> |
| <property name="format_sql">true</property> |
| <property name="hbm2ddl.auto">update</property> |
| |
| <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="hibernate.generate_statistics">true</property> |
| </session-factory> |
| |
| |
| </hibernate-configuration> |