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 dynamic attributes.
5 - All objects instance of a subclass of Any are uniquely identified by the rid primary key through the IDGenerator identifier generator class.
7 - @author Daniel Brunier-Coulin
8 - @copyright OPEN CASCADE 2012
13 <!-- <class name="org.splat.dal.bo.kernel.Any" abstract="true"> -->
14 <union-subclass name="org.splat.dal.bo.kernel.Any" extends="org.splat.dal.bo.kernel.Persistent" abstract="true" table="any">
16 <!-- <id name="rid" type="int" column="rid" unsaved-value="0" access="field">
17 <generator class="org.splat.dal.bo.kernel.IDGenerator"/>
20 <!-- <id name="rid" column="rid" access="field">
21 <generator class="native"/>
24 <!-- Set<Attribute> attributes -->
25 <set name="attributes" inverse="true" lazy="false" cascade="all-delete-orphan" access="field">
26 <key column="owner" />
27 <one-to-many class="org.splat.dal.bo.kernel.Attribute" />