TWiki . Catch0405 . Mapping-File

Kommentar: Dieses File muss offensichtlich im Bin Verzeichnis sein vom Eclipse.

<?xml version="1.0"?>
   <!DOCTYPE hibernate-mapping PUBLIC
      "-//Hibernate/Hibernate Mapping DTD//EN"
      "http://hibernate.sourceforge.net/hibernate-mapping.dtd">

   <hibernate-mapping>
      <class name="StoreTupel" table="kaisersrot">
                                 
                        <!-- A 32 hex character is our surrogate key. It's automatically
                             generated by Hibernate with the UUID pattern. -->
                        <id name="id" type="string" unsaved-value="null" >
                            <column name="id" sql-type="varchar(20)" not-null="true"/>
                            <generator class="uuid.hex"/>
                        </id>
                       
                        <property name="Name"        column="Name"       type="string"/>                       
                        <property name="Geschlecht"  column="Geschlecht" type="string"/>                                             
                        <property name="Alter"       column="Alter_1"     type="string"/>
                        <property name="Beruf"       column="Beruf"       type="string"/>
                        <property name="E_mail"      column="e_mail"      type="string"/>
                        <property name="TypGruppe"   column="TypGruppe"   type="string"/>
         <property name="HausTyp"     column="HausTyp"     type="string"/>
         <property name="Size"        column="Size"        type="string"/>
                        <property name="Accessoires" column="Accessoires" type="string"/>
                        <property name="PosVH"       column="PosVH"       type="string"/>
                        <property name="PosLR"       column="PosLR"       type="string"/>
                        <property name="GartenTyp"   column="GartenTyp"   type="string"/>
                        <property name="NStrasse"    column="NStrasse"    type="string"/>
         <property name="NBus"        column="NBus"        type="string"/>
         <property name="NWasser"     column="NWasser"     type="string"/>
                        <property name="NWald"       column="NWald"       type="string"/>
         <property name="NMarkt"      column="NMarkt"      type="string"/>
         <property name="NNachbar"    column="NNachbar"    type="string"/>
         <property name="NachbarName" column="NachbarName" type="string"/>
                                     
      </class>
   </hibernate-mapping>


-- OtherDenisRaschpichler - 15 Dec 2004

----- Revision r1.2 - 29 Dec 2004 - 17:36 - OtherDenisRaschpichler
Copyright © 1999-2003 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

This website has been archived and is no longer maintained.