source: ether_eccad/trunk/ECCAD_INTERFACE/WEB-INF/src/org/medias/eccad/persistance/hibernate/domaine/Requete.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.5 KB
RevLine 
[68]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.Requete" table="requete" schema="public">
7        <id name="idRequete" type="int">
8            <column name="id_requete" />
9            <generator class="assigned" />
10        </id>
11        <many-to-one name="produit" class="org.medias.eccad.persistance.hibernate.domaine.Produit" fetch="select">
12            <column name="id_produit" not-null="true" />
13        </many-to-one>
14        <property name="dateRequete" type="date">
15            <column name="date_requete" length="4" not-null="true" />
16        </property>
17        <property name="containedRequete" type="string">
18            <column name="contained_requete" length="512" not-null="true" />
19        </property>
20        <property name="userlastnameRequete" type="string">
21            <column name="userlastname_requete" length="128" not-null="true" />
22        </property>
23        <property name="userfirstnameRequete" type="string">
24            <column name="userfirstname_requete" length="128" not-null="true" />
25        </property>
26        <property name="useremailRequete" type="string">
27            <column name="useremail_requete" length="128" not-null="true" />
28        </property>
29    </class>
30</hibernate-mapping>
Note: See TracBrowser for help on using the repository browser.