1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE hibernate-configuration PUBLIC
3 "-//Hibernate/Hibernate Configuration DTD 3.0//EN"
4 "https://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
5 <hibernate-configuration>
6 <session-factory>
7 <property name="hibernate.connection.driver_class">org.hsqldb.jdbcDriver</property>
8 <property name="hibernate.connection.url">jdbc:hsqldb:hsql://localhost</property>
9 <property name="hibernate.connection.username">sa</property>
10 <property name="hibernate.dialect">org.hibernate.dialect.HSQLDialect</property>
11 <property name="connection.password"></property>
12 <property name="connection.pool_size">1</property>
13 <property name="hibernate.dialect"> org.hibernate.dialect.HSQLDialect</property>
14 <property name="show_sql">true</property>
15 <property name="hbm2ddl.auto">create</property>
16 <mapping class="com.iqjava.department.Department" />
17 </session-factory>
18 </hibernate-configuration>