source: ether_ndacc/trunk/persistence/implementation/com/ether/dao/plot/Plot.hbm.xml @ 105

Last change on this file since 105 was 105, checked in by rboipsl, 13 years ago

Import du projet NDACC _ module persistence

File size: 1.1 KB
Line 
1<?xml version="1.0"?>
2<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
3        "http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
4<hibernate-mapping default-cascade="save-update" auto-import="false">
5       
6        <class name="com.ether.plot.Plot" table="ND_PLOT">
7
8                <id name="id">
9                        <column name="pl_id" />
10                        <generator class="increment" />
11
12                        <!-- <generator class="sequence"> -->
13                        <!-- <param name="sequence">S_TABLE_TEST</param> -->
14                        <!-- </generator> -->
15                </id>
16               
17               
18                <property name="name">
19                        <column name="pl_name" />
20                </property>
21
22                <property name="granulo">
23                        <column name="pl_granulo" />
24                </property>
25
26                <property name="datedeb">
27                        <column name="pl_datedeb_mes" />
28                </property>
29
30                <property name="datefin">
31                        <column name="pl_datefin_mes" />
32                </property>
33               
34                 <property name="type" type="com.ether.dao.plot.PlotTypeUserType">
35            <column name="pl_type"/>
36        </property>
37       
38        <many-to-one name="instrument" class="com.ether.instrument.Instrument" lazy="false">
39            <column name="in_id"/>
40        </many-to-one>
41       
42        </class>
43       
44</hibernate-mapping>
Note: See TracBrowser for help on using the repository browser.