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="com.medias.database.objects.RequetePlatLoc" table="requete_plat_loc" schema="public"> |
---|
7 | <comment>Table contenant les positions extremes de chaque plateforme</comment> |
---|
8 | <id name="plateformeId" type="int"> |
---|
9 | <column name="plateforme_id" /> |
---|
10 | <!-- <generator class="native" />--> |
---|
11 | </id> |
---|
12 | <many-to-one name="plateforme" class="com.medias.database.objects.Plateforme" update="false" insert="false" fetch="select"> |
---|
13 | <column name="plateforme_id" not-null="true" unique="true"> |
---|
14 | <comment>lien vers la table plateforme</comment> |
---|
15 | </column> |
---|
16 | </many-to-one> |
---|
17 | <property name="latMin" type="int"> |
---|
18 | <column name="lat_min" not-null="true"> |
---|
19 | <comment>latitude minimale</comment> |
---|
20 | </column> |
---|
21 | </property> |
---|
22 | <property name="latMax" type="int"> |
---|
23 | <column name="lat_max" not-null="true"> |
---|
24 | <comment>latitude maximale</comment> |
---|
25 | </column> |
---|
26 | </property> |
---|
27 | <property name="lonMin" type="int"> |
---|
28 | <column name="lon_min" not-null="true"> |
---|
29 | <comment>longitude minimale</comment> |
---|
30 | </column> |
---|
31 | </property> |
---|
32 | <property name="lonMax" type="int"> |
---|
33 | <column name="lon_max" not-null="true"> |
---|
34 | <comment>longitude maximale</comment> |
---|
35 | </column> |
---|
36 | </property> |
---|
37 | <property name="altMin" type="int"> |
---|
38 | <column name="alt_min" not-null="true"> |
---|
39 | <comment>altitude minimale</comment> |
---|
40 | </column> |
---|
41 | </property> |
---|
42 | <property name="altMax" type="int"> |
---|
43 | <column name="alt_max" not-null="true"> |
---|
44 | <comment>altitude maximale</comment> |
---|
45 | </column> |
---|
46 | </property> |
---|
47 | <property name="hsMin" type="java.lang.Integer"> |
---|
48 | <column name="hs_min"> |
---|
49 | <comment>hauteur sol minimale</comment> |
---|
50 | </column> |
---|
51 | </property> |
---|
52 | <property name="hsMax" type="java.lang.Integer"> |
---|
53 | <column name="hs_max"> |
---|
54 | <comment>hauteur sol maximale</comment> |
---|
55 | </column> |
---|
56 | </property> |
---|
57 | </class> |
---|
58 | </hibernate-mapping> |
---|