]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman-Common/src/org/splat/dal/bo/som/Publication.hbm.xml
Salome HOME
StepServiceImpl doesn't use Database class anymore.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / som / Publication.hbm.xml
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" >
3 <!--
4   -
5   - @author    Daniel Brunier-Coulin
6   - @copyright OPEN CASCADE 2012
7   -->
8
9 <hibernate-mapping>
10
11   <union-subclass name="org.splat.dal.bo.som.Publication" extends="org.splat.dal.bo.kernel.Persistent" table="doctag" lazy="false">
12   
13 <!-- Properties inherited Persistent
14   -->
15 <!--     <id name="rid" column="rid" access="field">
16       <generator class="native"/>
17     </id>-->
18
19 <!-- Publication properties
20   -->
21     <!-- Document       mydoc -->    
22     <many-to-one  name="mydoc" column="doc"   access="field" not-null="true" />
23     
24     <!-- ProjectElement owner -->    
25     <many-to-one  name="owner" column="owner" access="field" not-null="true" />
26   
27     <!-- char isnew -->
28     <property     name="isnew" column="isnew" access="field" not-null="true" />    
29
30   </union-subclass>
31
32 </hibernate-mapping>