Salome HOME
Fix: document removing is fixed. Unit tests for StudyDAO and StepService.removeDocume...
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / kernel / Relation.hbm.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
3 <!--
4         - Mapping of the Relation class hierarchy.
5         - The entire hierarchy is mapped to one single table using a String discriminator.
6         -
7         - @author    Daniel Brunier-Coulin
8         - @copyright OPEN CASCADE 2012
9 -->
10
11 <hibernate-mapping>
12         <union-subclass name="org.splat.dal.bo.kernel.Relation"
13                 extends="org.splat.dal.bo.kernel.Any" abstract="true">
14
15                 <!-- Entity  owner -->
16                 <many-to-one name="owner" column="owner" access="field"
17                         not-null="true" />
18         <!-- Referenced entity
19         <many-to-one cascade="merge" name="to" column="refer" access="property"
20             not-null="true" /> -->
21         </union-subclass>
22 </hibernate-mapping>