source: ether_eccad/trunk/ECCAD_INTERFACE/WEB-INF/classes/org/medias/eccad/persistance/hibernate/domaine/Codification.hbm.xml @ 68

Last change on this file since 68 was 68, checked in by cbipsl, 14 years ago

commit v1 eccad

  • Property svn:executable set to *
File size: 1.5 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<!-- Generated 1 Juin 2007 15:03:29 by Hibernate Tools 3.2.0.beta7 -->
5<hibernate-mapping>
6    <class name="org.medias.eccad.persistance.hibernate.domaine.Codification" table="codification" schema="public">
7        <id name="idCodification" type="int">
8            <column name="id_codification" />
9            <generator class="assigned" />
10        </id>
11        <many-to-one name="typecodification" class="org.medias.eccad.persistance.hibernate.domaine.Typecodification" fetch="select">
12            <column name="id_typecodification" not-null="true" />
13        </many-to-one>
14        <property name="nomCodification" type="string">
15            <column name="nom_codification" length="128" not-null="true" unique="true" />
16        </property>
17        <property name="commentCodification" type="string">
18            <column name="comment_codification" length="128" />
19        </property>
20        <set name="grilles" inverse="true">
21            <key>
22                <column name="id_codification" />
23            </key>
24            <one-to-many class="org.medias.eccad.persistance.hibernate.domaine.Grille" />
25        </set>
26        <set name="codes" inverse="true">
27            <key>
28                <column name="id_codification" />
29            </key>
30            <one-to-many class="org.medias.eccad.persistance.hibernate.domaine.Code" />
31        </set>
32    </class>
33</hibernate-mapping>
Note: See TracBrowser for help on using the repository browser.