[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.Produitorig" table="produitorig" schema="public"> |
---|
| 7 | <id name="idProduitorig" type="int"> |
---|
| 8 | <column name="id_produitorig" /> |
---|
| 9 | <generator class="assigned" /> |
---|
| 10 | </id> |
---|
| 11 | <many-to-one name="domaine" class="org.medias.eccad.persistance.hibernate.domaine.Domaine" fetch="select"> |
---|
| 12 | <column name="id_domaine" /> |
---|
| 13 | </many-to-one> |
---|
| 14 | <property name="titleProduitorig" type="string"> |
---|
| 15 | <column name="title_produitorig" length="128" unique="true" /> |
---|
| 16 | </property> |
---|
[70] | 17 | <property name="dateProduitorig" type="string"> |
---|
| 18 | <column name="date_produitorig" length="128" /> |
---|
[68] | 19 | </property> |
---|
| 20 | <property name="editionProduitorig" type="string"> |
---|
| 21 | <column name="edition_produitorig" length="128" /> |
---|
| 22 | </property> |
---|
[70] | 23 | <property name="begintimeProduitorig" type="string"> |
---|
| 24 | <column name="begintime_produitorig" length="128" /> |
---|
[68] | 25 | </property> |
---|
[70] | 26 | <property name="endtimeProduitorig" type="string"> |
---|
| 27 | <column name="endtime_produitorig" length="128" /> |
---|
[68] | 28 | </property> |
---|
| 29 | <property name="earthellipsProduitorig" type="string"> |
---|
| 30 | <column name="earthellips_produitorig" length="128" /> |
---|
| 31 | </property> |
---|
| 32 | <property name="temporalresProduitorig" type="string"> |
---|
| 33 | <column name="temporalres_produitorig" length="128" /> |
---|
| 34 | </property> |
---|
| 35 | <property name="spatialresProduitorig" type="string"> |
---|
| 36 | <column name="spatialres_produitorig" length="128" /> |
---|
| 37 | </property> |
---|
| 38 | <property name="methodProduitorig" type="string"> |
---|
| 39 | <column name="method_produitorig" /> |
---|
| 40 | </property> |
---|
| 41 | <property name="dataurlProduitorig" type="string"> |
---|
| 42 | <column name="dataurl_produitorig" length="128" /> |
---|
| 43 | </property> |
---|
| 44 | <property name="documentationProduitorig" type="string"> |
---|
| 45 | <column name="documentation_produitorig" length="10" /> |
---|
| 46 | </property> |
---|
| 47 | <set name="produits" inverse="true"> |
---|
| 48 | <key> |
---|
| 49 | <column name="id_produitorig" /> |
---|
| 50 | </key> |
---|
| 51 | <one-to-many class="org.medias.eccad.persistance.hibernate.domaine.Produit" /> |
---|
| 52 | </set> |
---|
| 53 | </class> |
---|
| 54 | </hibernate-mapping> |
---|