<?xml version="1.0" encoding="UTF-8"?>
<persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd">
  <persistence-unit name="punit" transaction-type="RESOURCE_LOCAL">
    <class>org.bkvm.cache.Ledger</class>
    <class>org.bkvm.cache.LedgerMetadataEntry</class>
    <class>org.bkvm.cache.LedgerBookie</class>
    <class>org.bkvm.cache.Bookie</class>
    <exclude-unlisted-classes>true</exclude-unlisted-classes>
    <properties>
      <property name="javax.persistence.schema-generation.database.action" value="create"/>
      <!-- ledgerId can be zero -->
      <property name="eclipselink.allow-zero-id" value="true"/>
      <property name="eclipselink.logging.logger" value="JavaLogger"/>
      <property name="eclipselink.logging.level" value="ALL"/>
    </properties>
  </persistence-unit>
</persistence>
