<!--

    Copyright (c) 2012-2018 Red Hat, Inc.
    This program and the accompanying materials are made
    available under the terms of the Eclipse Public License 2.0
    which is available at https://www.eclipse.org/legal/epl-2.0/

    SPDX-License-Identifier: EPL-2.0

    Contributors:
      Red Hat, Inc. - initial API and implementation

-->
<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 persistence_1_0.xsd" version="1.0">
    <persistence-unit name="test-unit" transaction-type="RESOURCE_LOCAL">
        <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
        <class>org.eclipse.che.commons.test.db.PersistTestModuleBuilderTest$MyEntity1</class>
        <class>org.eclipse.che.commons.test.db.PersistTestModuleBuilderTest$MyEntity2</class>
        <properties>
            <property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
            <property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:test"/>
            <property name="javax.persistence.jdbc.user" value="username"/>
            <property name="javax.persistence.jdbc.password" value="secret"/>
            <property name="eclipselink.logging.level" value="FINE"/>
            <property name="eclipselink.exception-handler" value="org.eclipse.che.commons.test.db.PersistTestModuleBuilderTest$MyExceptionHandler"/>
            <property name="custom-property" value="value"/>
        </properties>
    </persistence-unit>
</persistence>
