source: ether_eccad/trunk/ECCAD_INTERFACE/WEB-INF/build/org/medias/eccad/persistance/hibernate/domaine/Typeproduit.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: 953 bytes
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.Typeproduit" table="typeproduit" schema="public">
7        <id name="idTypeproduit" type="int">
8            <column name="id_typeproduit" />
9            <generator class="assigned" />
10        </id>
11        <property name="nameTypeproduit" type="string">
12            <column name="name_typeproduit" length="512" not-null="true" unique="true" />
13        </property>
14        <set name="produits" inverse="true">
15            <key>
16                <column name="id_typeproduit" />
17            </key>
18            <one-to-many class="org.medias.eccad.persistance.hibernate.domaine.Produit" />
19        </set>
20    </class>
21</hibernate-mapping>
Note: See TracBrowser for help on using the repository browser.