1 <persistence version="1.0"
\r
2 xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
\r
3 xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
\r
4 <persistence-unit name="swmtestappManagerTest">
\r
5 <!-- in practice configured via Spring LocalContainerEntityManagerFactoryBean - packagesToScan -->
\r
6 <class>de.test.schemaexport.domain.Department</class>
\r
7 <class>de.test.schemaexport.domain.Employee</class>
\r
9 <property name="hibernate.hbm2ddl.auto" value="create-drop" />
\r
10 <property name="hibernate.connection.username" value="sa" />
\r
11 <property name="hibernate.connection.password" value="" />
\r
12 <property name="hibernate.show_sql" value="true" />
\r
13 <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect" />
\r
14 <property name="hibernate.connection.driver_class" value="org.hsqldb.jdbcDriver" />
\r
15 <property name="hibernate.connection.url" value="jdbc:hsqldb:mem:test"/>
\r