%BROADCASTMESSAGE%
CAAD | ARCH TWiki > Catch0405 > KaisersrotPersistenz > SoftwareVersions > GenerischeDb-Eingabemaske > Mappingfile TWiki webs:
Admin| Aizo | Archinf | BIP | Bgyalex | Brandhub | Catch0405 | Cityscan05 | CommunityMedia | Control | Curtain | Easa005 | Easydb | Education | Extern | Extern0405 | Freudenhaus | Fund | Game0405 | Game05 | Gamearch | Luise | MAS0506 | MAS0506stu | Mas0506 | Mas0506stu | Maschinen0405 | Menz | Mill | Mill0405 | NDS | NDS0405 | NDS0405stu | Plugins | Qwipp | RZM | Replay | Replay0405 | Research | Second | Trash | Udintern | Urbandesign |
Catch0405 . { Changes | Index | Search | Go }
<?xml version="1.0"?>
   <!DOCTYPE hibernate-mapping PUBLIC
      "-//Hibernate/Hibernate Mapping DTD//EN"
      "http://hibernate.sourceforge.net/hibernate-mapping.dtd">

   <hibernate-mapping>
      <class name="User1" table="genericTable">
                                 
                        <!-- 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>


                        <!-- comment -->
                        <property name="name">
                        <column name="name" length="16" not-null="true"/>
                        </property>

                        <property name="sex"/>
                        <property name="birth"/>
                        <property name="death"/>
                        
      </class>
   </hibernate-mapping>

-- OtherDenisRaschpichler - 14 Dec 2004


Topic Mappingfile . { Edit | Attach | Ref-By | Printable | Diffs | r1.1 | More }

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.