<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
        "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
        "classpath://org/hibernate/hibernate-configuration-3.0.dtd">
<!-- DO NOT CHANGE THE ABOVE DTD LOCATION. IT MUST BE FETCHED FROM THE CLASSPATH.
See https://jira.slac.stanford.edu/browse/LSSTCCS-699 for more details -->
<hibernate-configuration>
  <session-factory>
      <!-- property , for current thread ?-->
      <property name="current_session_context_class">thread</property>
      <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
      <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
      <property name="hibernate.connection.url">jdbc:hsqldb:mem:cache_size=200000</property>
      <property name="hibernate.connection.username">root</property>
      <!--property name="hibernate.hbm2ddl.auto">create-drop or update</property-->
      <property name="hibernate.hbm2ddl.auto">create-drop</property>
      <property name="hibernate.show_sql">true</property>
      <property name="hibernate.format_sql">true</property>
      <!--mapping resource="org/lsst/ccs/bootstrap/config/hibernate/hibernate.hbm.xml"/-->
      <mapping class="org.lsst.ccs.localdb.configdb.model.ConfigurationParameter" />
      <mapping class="org.lsst.ccs.localdb.configdb.model.Description" />
      <mapping class="org.lsst.ccs.localdb.configdb.model.ConfigurationParameterValue" />
      <mapping class="org.lsst.ccs.localdb.configdb.model.Configuration" />
      <mapping class="org.lsst.ccs.localdb.configdb.model.ConfigurationRun" />
  </session-factory>
</hibernate-configuration>
