<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd" >
<!--
- -
- - @author Daniel Brunier-Coulin
- - @copyright OPEN CASCADE 2012
- -->
+ -
+ - @author Daniel Brunier-Coulin
+ - @copyright OPEN CASCADE 2012
+-->
<hibernate-mapping>
- <joined-subclass name="org.splat.dal.bo.kernel.TextAttribute" extends="org.splat.dal.bo.kernel.Attribute" table="text_attr">
- <key column="rid"/>
- <property name="mytext" column="value" type="text" access="field" not-null="true"/>
- </joined-subclass>
+ <union-subclass name="org.splat.dal.bo.kernel.TextAttribute"
+ extends="org.splat.dal.bo.kernel.Attribute" table="text_attr"
+ abstract="true">
+
+ <property name="mytext" column="value" type="text"
+ access="field" not-null="true" />
+ </union-subclass>
</hibernate-mapping>
\ No newline at end of file