source: ether_eccad/trunk/ECCAD_INTERFACE/WEB-INF/src/org/medias/eccad/persistance/hibernate/domaine/Domaine.hbm.xml

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

commit v1 eccad

  • Property svn:executable set to *
File size: 1.6 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.Domaine" table="domaine" schema="public">
7        <id name="idDomaine" type="int">
8            <column name="id_domaine" />
9            <generator class="assigned" />
10        </id>
11        <property name="lonminDomaine" type="double">
12            <column name="lonmin_domaine" precision="8" scale="0" not-null="true" />
13        </property>
14        <property name="lonmaxDomaine" type="double">
15            <column name="lonmax_domaine" precision="8" scale="0" not-null="true" />
16        </property>
17        <property name="latminDomaine" type="double">
18            <column name="latmin_domaine" precision="8" scale="0" not-null="true" />
19        </property>
20        <property name="latmaxDomaine" type="double">
21            <column name="latmax_domaine" precision="8" scale="0" not-null="true" />
22        </property>
23        <set name="produitorigs" inverse="true">
24            <key>
25                <column name="id_domaine" />
26            </key>
27            <one-to-many class="org.medias.eccad.persistance.hibernate.domaine.Produitorig" />
28        </set>
29        <set name="produits" inverse="true">
30            <key>
31                <column name="id_domaine" />
32            </key>
33            <one-to-many class="org.medias.eccad.persistance.hibernate.domaine.Produit" />
34        </set>
35    </class>
36</hibernate-mapping>
Note: See TracBrowser for help on using the repository browser.