Added a test that reuses classes and mappings from a real project
[jpa-converters] / src / test / resources / META-INF / date.xml
diff --git a/src/test/resources/META-INF/date.xml b/src/test/resources/META-INF/date.xml
new file mode 100644 (file)
index 0000000..e119473
--- /dev/null
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<entity-mappings
+    xmlns="http://java.sun.com/xml/ns/persistence/orm"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_1.xsd"
+    version="2.1">
+
+  <package>de.juplo.yourshouter.api.model</package>
+  <entity class="Date">
+    <discriminator-value>17</discriminator-value>
+    <attributes>
+      <transient name="event"/>
+      <transient name="location"/>
+      <transient name="subunit"/>
+      <transient name="contributors"/>
+      <transient name="emails"/>
+      <transient name="links"/>
+      <transient name="numbers"/>
+      <transient name="media"/>
+      <transient name="prices"/>
+    </attributes>
+  </entity>
+
+</entity-mappings>