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.6 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.TypePlateforme" table="type_plateforme" schema="public"> |
---|
7 | <comment>Table contenant les type de plateforme utilises</comment> |
---|
8 | <id name="typePlateformeId" type="int"> |
---|
9 | <column name="type_plateforme_id" /> |
---|
10 | <generator class="native" /> |
---|
11 | </id> |
---|
12 | <many-to-one name="commentaire" class="integration.hibernate.Commentaire" fetch="select"> |
---|
13 | <column name="commentaire_id"> |
---|
14 | <comment>lien vers la table commentaire</comment> |
---|
15 | </column> |
---|
16 | </many-to-one> |
---|
17 | <property name="typePlateformeNom" type="string"> |
---|
18 | <column name="type_plateforme_nom" length="50" not-null="true" unique="true"> |
---|
19 | <comment>nom du type de plateforme</comment> |
---|
20 | </column> |
---|
21 | </property> |
---|
22 | <property name="typePlateformeStype" type="string"> |
---|
23 | <column name="type_plateforme_stype" length="50"> |
---|
24 | <comment>sous-type du type de plateforme</comment> |
---|
25 | </column> |
---|
26 | </property> |
---|
27 | <set name="plateformes" inverse="true"> |
---|
28 | <key> |
---|
29 | <column name="type_plateforme_id" not-null="true"> |
---|
30 | <comment>lien vers la table type_plateforme</comment> |
---|
31 | </column> |
---|
32 | </key> |
---|
33 | <one-to-many class="integration.hibernate.Plateforme" /> |
---|
34 | </set> |
---|
35 | </class> |
---|
36 | </hibernate-mapping> |
---|
Note: See
TracBrowser
for help on using the repository browser.