]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman-Common/src/org/splat/dal/bo/kernel/Persistent.hbm.xml
Salome HOME
StepServiceImpl doesn't use Database class anymore.
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / dal / bo / kernel / Persistent.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   - Mapping of the primary key common to all Persistent objects.
5   -
6   -
7   - @author    Daniel Brunier-Coulin
8   - @copyright OPEN CASCADE 2012
9   -->
10
11 <hibernate-mapping>
12
13   <class name="org.splat.dal.bo.kernel.Persistent" abstract="true">
14
15
16 <!--     <id name="rid" column="rid" access="field">
17       <generator class="sequence"/>
18     </id> -->
19         <id name="rid" column="rid" access="field" type="long">
20         <generator class="org.hibernate.id.enhanced.SequenceStyleGenerator">
21                 <param name="sequence_name">persistent_id</param>
22                 <param name="initial_value">1000</param>
23         </generator>
24         </id>
25         
26   </class>
27
28 </hibernate-mapping>