2015-05-19 00:23:35 -04:00
|
|
|
<!--
|
|
|
|
~ Hibernate, Relational Persistence for Idiomatic Java
|
|
|
|
~
|
|
|
|
~ License: GNU Lesser General Public License (LGPL), version 2.1 or later.
|
|
|
|
~ See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
|
|
|
|
-->
|
2013-06-12 16:50:06 -04:00
|
|
|
<!DOCTYPE hibernate-configuration PUBLIC
|
|
|
|
"-//Hibernate/Hibernate Configuration DTD 3.0//EN"
|
|
|
|
"http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
|
|
|
|
|
|
|
|
<hibernate-configuration>
|
|
|
|
<session-factory>
|
|
|
|
<property name="hibernate.dialect">org.hibernate.dialect.H2Dialect</property>
|
|
|
|
<property name="hibernate.connection.driver_class">org.h2.Driver</property>
|
|
|
|
<property name="hibernate.connection.username">sa</property>
|
|
|
|
<property name="hibernate.connection.password"></property>
|
2015-04-07 17:36:13 -04:00
|
|
|
<property name="hibernate.connection.url">jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1</property>
|
2013-06-12 16:50:06 -04:00
|
|
|
<property name="hibernate.hbm2ddl.auto">create-drop</property>
|
|
|
|
<property name="hibernate.cache.use_second_level_cache">false</property>
|
|
|
|
<mapping class="org.hibernate.osgi.test.client.DataPoint"/>
|
2016-05-26 17:00:49 -04:00
|
|
|
<mapping class="org.hibernate.osgi.test.client.AuditedDataPoint"/>
|
2013-06-12 16:50:06 -04:00
|
|
|
</session-factory>
|
|
|
|
</hibernate-configuration>
|