source: ether_eccad/trunk/ECCAD_INTERFACE/WEB-INF/src/org/medias/eccad/persistance/hibernate/domaine/Code.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: 962 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.Code" table="code" schema="public">
7        <id name="idCode" type="int">
8            <column name="id_code" />
9            <generator class="assigned" />
10        </id>
11        <many-to-one name="codification" class="org.medias.eccad.persistance.hibernate.domaine.Codification" fetch="select">
12            <column name="id_codification" />
13        </many-to-one>
14        <property name="numCode" type="int">
15            <column name="num_code" not-null="true" />
16        </property>
17        <property name="legendCode" type="string">
18            <column name="legend_code" length="128" />
19        </property>
20    </class>
21</hibernate-mapping>
Note: See TracBrowser for help on using the repository browser.