Salome HOME
Update copyrights 2014.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / kernel / Relation.hbm.xml
index 2ffa7f558ef9194c237d0f5782241f535b401301..a57e289d83808688352c2c889d9a4a268139d616 100644 (file)
@@ -5,7 +5,7 @@
        - The entire hierarchy is mapped to one single table using a String discriminator.
        -
        - @author    Daniel Brunier-Coulin
-       - @copyright OPEN CASCADE 2012
+       - @copyright OPEN CASCADE 2012-2014
 -->
 
 <hibernate-mapping>
@@ -15,5 +15,8 @@
                <!-- Entity  owner -->
                <many-to-one name="owner" column="owner" access="field"
                        not-null="true" />
+        <!-- Referenced entity
+        <many-to-one cascade="merge" name="to" column="refer" access="property"
+            not-null="true" /> -->
        </union-subclass>
 </hibernate-mapping>
\ No newline at end of file