Last change
on this file since 482 was
482,
checked in by vmipsl, 12 years ago
|
BO insertion données _ insertion code medias package insertion
|
-
Property svn:executable set to
*
|
File size:
1.2 KB
|
Line | |
---|
1 | <?xml version="1.0"?> |
---|
2 | <!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN" |
---|
3 | "http://www.hibernate.org/dtd/hibernate-mapping-3.0.dtd"> |
---|
4 | <!-- Generated 5 f?vr. 2007 11:07:12 by Hibernate Tools 3.2.0.b9 --> |
---|
5 | <hibernate-mapping> |
---|
6 | <class name="integration.hibernate.Fabriquant" table="fabriquant" schema="public"> |
---|
7 | <comment>Table indiquant les noms des fabriquants</comment> |
---|
8 | <id name="fabriquantId" type="int"> |
---|
9 | <column name="fabriquant_id" /> |
---|
10 | <generator class="sequence"> |
---|
11 | <param name="sequence">fabriquant_fabriquant_id_seq</param> |
---|
12 | </generator> |
---|
13 | </id> |
---|
14 | <property name="fabriquantNom" type="string"> |
---|
15 | <column name="fabriquant_nom" length="100" not-null="true" unique="true"> |
---|
16 | <comment>nom du fabriquant</comment> |
---|
17 | </column> |
---|
18 | </property> |
---|
19 | <set name="capteurs" inverse="true"> |
---|
20 | <key> |
---|
21 | <column name="fabriquant_id" not-null="true"> |
---|
22 | <comment>lien vers la table fabriquant</comment> |
---|
23 | </column> |
---|
24 | </key> |
---|
25 | <one-to-many class="integration.hibernate.Capteur" /> |
---|
26 | </set> |
---|
27 | </class> |
---|
28 | </hibernate-mapping> |
---|
Note: See
TracBrowser
for help on using the repository browser.