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 root abstract class supporting relations.
7 - @author Daniel Brunier-Coulin
8 - @copyright OPEN CASCADE 2012
13 <!-- <class name="org.splat.dal.bo.kernel.Entity" abstract="true"> -->
14 <union-subclass name="org.splat.dal.bo.kernel.Entity" abstract="true" extends="org.splat.dal.bo.kernel.Any" table="entity">
17 <!-- <id name="rid" type="int" column="rid" unsaved-value="0" access="field">
18 <generator class="org.splat.dal.bo.kernel.IDGenerator"/>
21 <!-- Set<Attribute> attributes -->
22 <!-- <set name="attributes" inverse="true" lazy="false" cascade="all-delete-orphan" access="field">
23 <key column="owner" />
24 <one-to-many class="org.splat.dal.bo.kernel.Attribute" />
27 <!-- Set<Relation> relations -->
28 <set name="relations" inverse="true" lazy="false" cascade="all-delete-orphan" access="field">
29 <key column="owner" />
30 <one-to-many class="org.splat.dal.bo.kernel.Relation" />