source: ether_2012/out/production/Persistence/com/ether/dao/Parameter.hbm.xml @ 319

Last change on this file since 319 was 319, checked in by vmipsl, 12 years ago

Import du projet Ether pour le nouveau look 2012

File size: 1.4 KB
Line 
1<?xml version="1.0"?>
2<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
3"http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd">
4<!-- Generated 5 f?vr. 2007 11:07:12 by Hibernate Tools 3.2.0.b9 -->
5<hibernate-mapping>
6    <class name="com.ether.Parameter" table="parametre" schema="public">
7        <comment>Table enumerant les differents parametres de mesure</comment>
8        <id name="id" type="int">
9            <column name="parametre_id" />
10            <!--<generator class="sequence">-->
11            <!--<param name="sequence">parametre_parametre_id_seq</param>-->
12            <!--</generator>-->
13        </id>
14
15        <property name="name" type="string">
16            <column name="parametre_nom" length="100" not-null="true">
17                <comment>nom du parametre</comment>
18            </column>
19        </property>
20
21        <set name="plateformes" inverse="true" table="requete_plat_param">
22            <key>
23                <column name="parametre_id" not-null="true">
24                    <comment>lien vers la table parametre</comment>
25                </column>
26            </key>
27            <many-to-many entity-name="com.ether.Plateform">
28                <column name="plateforme_id" not-null="true">
29                    <comment>lien vers la table plateforme</comment>
30                </column>
31            </many-to-many>
32        </set>
33    </class>
34</hibernate-mapping>
Note: See TracBrowser for help on using the repository browser.