X-Git-Url: https://juplo.de/gitweb/?a=blobdiff_plain;f=src%2Ftest%2Fresources%2FMETA-INF%2Fpersistence.xml;h=9f84f3c22f4bd8e6f22fd5d8ef25b9403ff5fb1f;hb=b363406a4b51e186f87b036d74e48b338c3300e8;hp=1de7f0aa5aaf85db15ce45fecec383330888656a;hpb=8ba1e56029cd19e7208cb0ff1d5cb27c4e9691f9;p=jpa-converters diff --git a/src/test/resources/META-INF/persistence.xml b/src/test/resources/META-INF/persistence.xml index 1de7f0a..9f84f3c 100644 --- a/src/test/resources/META-INF/persistence.xml +++ b/src/test/resources/META-INF/persistence.xml @@ -1,12 +1,12 @@ + xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd" + version="2.1"> - de.juplo.jpa.converters.OffsetDateTime - de.juplo.jpa.converters.ZonedDateTime + Classes are mapped with annotations @@ -14,6 +14,68 @@ + + + + + + Classes are mapped with XML-configuration-files + META-INF/mapping.xml + true + + + + + + + + + + + + + Example, taken from the data-model package + META-INF/coordinates.xml + META-INF/address.xml + META-INF/link.xml + META-INF/email.xml + META-INF/number.xml + META-INF/openinghours.xml + META-INF/nodes.xml + META-INF/role.xml + META-INF/price.xml + META-INF/nodestate.xml + META-INF/dimensions.xml + META-INF/node.xml + META-INF/category.xml + META-INF/media.xml + META-INF/geoplace.xml + META-INF/country.xml + META-INF/state.xml + META-INF/city.xml + META-INF/district.xml + META-INF/region.xml + META-INF/legalperson.xml + META-INF/person.xml + META-INF/organization.xml + META-INF/group.xml + META-INF/exhibition.xml + META-INF/custom.xml + META-INF/place.xml + META-INF/venue.xml + META-INF/location.xml + META-INF/subunit.xml + META-INF/event.xml + META-INF/date.xml + true + + + + + + + +