<?xml version="1.0" encoding="UTF-8"?>
<persistence
- xmlns="http://java.sun.com/xml/ns/persistence"
+ xmlns="http://xmlns.jcp.org/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- version="1.0">
+ xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
+ version="2.1">
<persistence-unit name="annotated">
- <class>de.juplo.jpa.converters.OffsetDateTime</class>
- <class>de.juplo.jpa.converters.ZonedDateTime</class>
+ <description>Classes are mapped with annotations</description>
<properties>
<property name="javax.persistence.jdbc.driver" value="org.h2.Driver"/>
<property name="javax.persistence.jdbc.user" value="sa"/>