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" >
4 - Mapping of the Relation class hierarchy.
5 - The entire hierarchy is mapped to one single table using a String discriminator.
7 - @author Daniel Brunier-Coulin
8 - @copyright OPEN CASCADE 2012
12 <union-subclass name="org.splat.dal.bo.kernel.Relation"
13 extends="org.splat.dal.bo.kernel.Any" abstract="true">
16 <many-to-one name="owner" column="owner" access="field"
18 <!-- Referenced entity
19 <many-to-one cascade="merge" name="to" column="refer" access="property"
20 not-null="true" /> -->