<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0">

  <persistence-unit name="geocaches" transaction-type="RESOURCE_LOCAL">
    <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>

    <class>de.geofroggerfx.model.Attribute</class>
    <class>de.geofroggerfx.model.Cache</class>
    <class>de.geofroggerfx.model.Log</class>
    <class>de.geofroggerfx.model.TravelBug</class>
    <class>de.geofroggerfx.model.Type</class>
    <class>de.geofroggerfx.model.User</class>
    <class>de.geofroggerfx.model.Waypoint</class>
    <class>de.geofroggerfx.model.CacheList</class>

    <properties>
      <property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
      <property name="javax.persistence.jdbc.url" value="jdbc:h2:./geofroggerfxdb"/>
      <property name="javax.persistence.jdbc.user" value="sa"/>
      <property name="javax.persistence.jdbc.password" value="sa"/>
      <!--<property name="eclipselink.logging.level" value="FINEST"/>-->
      <property name="eclipselink.ddl-generation" value="create-tables" />
      <property name="eclipselink.ddl-generation.output-mode" value="database" />
    </properties>

  </persistence-unit>
</persistence>