Salome HOME
Mapping is fixed. Relation in the mapping is inherited from Persistent now. Versionin...
[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         </union-subclass>
19 </hibernate-mapping>