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" >
5 - @author Daniel Brunier-Coulin
6 - @copyright OPEN CASCADE 2012
11 <union-subclass name="org.splat.dal.bo.som.Scenario" extends="org.splat.dal.bo.som.ProjectElement" table="scenario" lazy="false">
14 <many-to-one name="owner" column="owner" insert="false" update="false" access="field" not-null="true" />
17 <property name="sid" column="sid" access="field" not-null="true" />
20 <many-to-one name="cuser" column="cuser" access="field" />
22 <!-- Set<KnowledgeElement> kelms -->
23 <set name="kelms" inverse="true" lazy="false" order-by="`type`,`date` asc" cascade="all-delete-orphan" access="field">
24 <key column="owner" />
25 <one-to-many class="org.splat.dal.bo.som.KnowledgeElement" />