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 Attribute class hierarchy.
5 - The attribute hierarchy is mapped to a single table using a String discriminator.
7 - @author Daniel Brunier-Coulin
8 - @copyright OPEN CASCADE 2012
13 <class name="org.splat.dal.bo.kernel.Attribute" abstract="true" table="attribute">
16 <id name="rid" column="rid" access="field">
17 <generator class="native"/>
19 <discriminator column="type" type="string"/>
22 <many-to-one name="owner" column="owner" access="field" not-null="true" />