<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_1_0.xsd" version="1.0">

    <persistence-unit name="helloworld">

        <!-- A datasource managed by the Java EE runtime environment -->
        <jta-data-source>java:/HelloWorldDS</jta-data-source>

        <properties>
            <property name="hibernate.archive.autodetection" value="class, hbm"/>

            <!-- SQL stdout logging
            <property name="hibernate.show_sql" value="true"/>
            <property name="hibernate.format_sql" value="true"/>
            <property name="use_sql_comments" value="true"/>
            -->

            <property name="hibernate.dialect" value="org.hibernate.dialect.HSQLDialect"/>

            <!-- On deployment of this persistence unit, drop and then re-create all tables -->
            <property name="hibernate.hbm2ddl.auto" value="create"/>

        </properties>
    </persistence-unit>

</persistence>