torsten@1: <?xml version="1.0" encoding="UTF-8"?>
torsten@1: <persistence version="2.0"
torsten@1:    xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
torsten@1:    xsi:schemaLocation="
torsten@1:         http://java.sun.com/xml/ns/persistence
torsten@1:         http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
torsten@1:    <persistence-unit name="primary">
torsten@1:       <!-- We use a different datasource for tests, so as to not overwrite 
torsten@1:          production data. This is an unmanaged data source, backed by H2, an in memory 
torsten@1:          database. Production applications should use a managed datasource. -->
torsten@1:       <!-- The datasource is deployed as WEB-INF/test-ds.xml, 
torsten@1:          you can find it in the source at src/test/resources/test-ds.xml -->
torsten@1:       <jta-data-source>java:jboss/datasources/ladaTestDS</jta-data-source>
torsten@1:       <properties>
torsten@1:          <!-- Properties for Hibernate -->
torsten@1:          <property name="hibernate.hbm2ddl.auto" value="create-drop" />
torsten@1:          <property name="hibernate.show_sql" value="false" />
torsten@1:       </properties>
torsten@1:    </persistence-unit>
torsten@1: </persistence>