<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.0"
   xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="
        http://java.sun.com/xml/ns/persistence
        http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd">
   <persistence-unit name="CreditUnit" transaction-type="JTA">

      <jta-data-source>java:jboss/datasources/H2XADS</jta-data-source>
      <class>org.switchyard.quickstarts.demo.txpropagation.Application</class>
      <exclude-unlisted-classes>true</exclude-unlisted-classes>
      <properties>
         <!-- Properties for Hibernate -->
         <property name="hibernate.hbm2ddl.auto" value="none" />
	 <property name="hibernate.dialect" value="org.hibernate.dialect.H2Dialect"/>
         <!-- Uncomment to print SQL statements executed by Hibernate -->
         <property name="hibernate.show_sql" value="true" />
         <property name="hibernate.transaction.jta.platform" value="org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform" />
      </properties>
   </persistence-unit>
</persistence>
