<?xml version="1.0" encoding="UTF-8"?>
<!-- example of a default persistence.xml -->
<persistence 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"
             version="2.0">
    <persistence-unit name="excludehbmpar" transaction-type="RESOURCE_LOCAL">
        <mapping-file>META-INF/orm2.xml</mapping-file>
        <properties>
            <property name="hibernate.dialect" value="${db.dialect}"/>
            <property name="hibernate.connection.driver_class" value="${jdbc.driver}"/>
            <property name="hibernate.connection.username" value="${jdbc.user}"/>
            <property name="hibernate.connection.password" value="${jdbc.pass}"/>
            <property name="hibernate.connection.url" value="${jdbc.url}"/>
            <property name="hibernate.connection.isolation" value="${jdbc.isolation}"/>
            <property name="hibernate.hbm2ddl.auto" value="create-drop"/>
            <property name="hibernate.cache.provider_class" value="org.hibernate.cache.HashtableCacheProvider"/>
            <property name="hibernate.archive.autodetection" value="class"/>
        </properties>
    </persistence-unit>
</persistence>
