7290ea8d81d26d6bb48e65c26d254155c6c5414a
[jpa-converters] / nodestate.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.model</package>
9   <embeddable class="NodeState" access="FIELD">
10     <attributes>
11       <element-collection name="types"/>
12       <many-to-one name="node">
13         <cascade>
14           <cascade-all/>
15         </cascade>
16       </many-to-one>
17     </attributes>
18   </embeddable>
19
20 </entity-mappings>