Rebuild the full mapping from persistence-jpa-1.5.1 to reproduce the bug
[jpa-converters] / src / test / resources / META-INF / source.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <entity-mappings
3     xmlns="http://java.sun.com/xml/ns/persistence/orm"
4     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5     xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_2_1.xsd"
6     version="2.1">
7
8   <package>de.juplo.yourshouter.api.persistence</package>
9   <entity class="Source" access="FIELD">
10     <table>
11       <index name="uri_sources" unique="true" column-list="uri"/>
12     </table>
13     <attributes>
14       <id name="uri">
15         <column length="191" column-definition="VARCHAR(191)"/>
16       </id>
17       <element-collection name="types"/>
18       <element-collection name="features"/>
19     </attributes>
20   </entity>
21
22 </entity-mappings>