Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12146/NHibernate.DomainModel
Modified Files:
Baz.hbm.xml FooBar.hbm.xml Simple.hbm.xml
Log Message:
Minor hbm changes so schema export generates tables correctly.
Index: Simple.hbm.xml
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Simple.hbm.xml,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** Simple.hbm.xml 9 Jul 2004 19:22:11 -0000 1.5
--- Simple.hbm.xml 19 Jul 2004 03:02:33 -0000 1.6
***************
*** 7,11 ****
</id>
<property name="Name"/>
! <property name="Address" type="String(200)" column="address" />
<property name="Count" column="count_" not-null="true" unique="true"/>
<property name="Date" column="date_"/>
--- 7,11 ----
</id>
<property name="Name"/>
! <property name="Address" type="String" length="200" column="address" />
<property name="Count" column="count_" not-null="true" unique="true"/>
<property name="Date" column="date_"/>
Index: FooBar.hbm.xml
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/FooBar.hbm.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** FooBar.hbm.xml 13 Jul 2004 06:46:57 -0000 1.10
--- FooBar.hbm.xml 19 Jul 2004 03:02:33 -0000 1.11
***************
*** 25,29 ****
</generator>
</id>
! <discriminator column="`$foo_subclass^`" type="Char"/>
<version name="Version"/>
<!--<version name="versionCalendar" type="calendar"/>-->
--- 25,33 ----
</generator>
</id>
! <discriminator column="`$foo_subclass^`" type="Char" length="1"/>
! <!--
! added length for NH because a Char does not have a direct DbType.Char but instead
! uses DbType.String so it defaults to 255 if 1 is not found.
! -->
<version name="Version"/>
<!--<version name="versionCalendar" type="calendar"/>-->
Index: Baz.hbm.xml
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Baz.hbm.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** Baz.hbm.xml 15 Jul 2004 19:16:39 -0000 1.14
--- Baz.hbm.xml 19 Jul 2004 03:02:33 -0000 1.15
***************
*** 282,286 ****
<map name="TopGlarchez">
<key column="idtopglarch" />
! <index column="mapkey" type="Char"/>
<one-to-many class = "NHibernate.DomainModel.Glarch, NHibernate.DomainModel"/>
</map>
--- 282,290 ----
<map name="TopGlarchez">
<key column="idtopglarch" />
! <index column="mapkey" type="Char" length="1"/>
! <!--
! added length for NH because a Char does not have a direct DbType.Char but instead
! uses DbType.String so it defaults to 255 if 1 is not found.
! -->
<one-to-many class = "NHibernate.DomainModel.Glarch, NHibernate.DomainModel"/>
</map>
|