Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10534/NHibernate.DomainModel
Modified Files:
Baz.cs Baz.hbm.xml FooBar.hbm.xml
NHibernate.DomainModel-1.1.csproj
Log Message:
Moved TimeType to its own test classes in the NHSpecific area and out
of the ported classes. MySql does not follow the DbType.Time docs so
this will help to isolate failing tests to just that datatype.
Index: FooBar.hbm.xml
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/FooBar.hbm.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** FooBar.hbm.xml 1 Sep 2004 00:10:11 -0000 1.17
--- FooBar.hbm.xml 3 Nov 2004 03:37:05 -0000 1.18
***************
*** 124,128 ****
<key column="foo_id"/>
<index column="i"/>
! <element column="date_" type="Time"/>
</array>
--- 124,132 ----
<key column="foo_id"/>
<index column="i"/>
! <element column="date_" type="DateTime"/>
! <!--
! in the hibernate test this was a type="time", but in nh the functionallity
! between type="Time" and type="Time" is not quite the same
! -->
</array>
Index: Baz.hbm.xml
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Baz.hbm.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** Baz.hbm.xml 28 Jul 2004 15:08:18 -0000 1.16
--- Baz.hbm.xml 3 Nov 2004 03:37:05 -0000 1.17
***************
*** 112,128 ****
</composite-element>
</array>
! <array name="TimeArray">
! <key>
! <column
! name="baz_id"
! length="16"
! />
! </key>
! <index column="j"/>
! <element
! column="the_time"
! type="Time"
! />
! </array>
<bag
name="Bag"
--- 112,116 ----
</composite-element>
</array>
!
<bag
name="Bag"
Index: Baz.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Baz.cs,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** Baz.cs 29 Jun 2004 14:26:27 -0000 1.9
--- Baz.cs 3 Nov 2004 03:37:05 -0000 1.10
***************
*** 20,24 ****
private NestingComponent _collectionComponent;
private String _code;
- private DateTime[] _timeArray;
private FooComponent[] _components;
private string[] _stringArray;
--- 20,23 ----
***************
*** 395,413 ****
/// <summary>
- /// Gets or sets the _timeArray
- /// </summary>
- public DateTime[] TimeArray
- {
- get
- {
- return _timeArray;
- }
- set
- {
- _timeArray = value;
- }
- }
-
- /// <summary>
/// Get/set for stringSet
/// </summary>
--- 394,397 ----
***************
*** 588,593 ****
new FooComponent("bar", 88, null, new FooComponent("sub", 69, null, null) )
};
- TimeArray = new DateTime[] { new DateTime(), new DateTime(), DateTime.MinValue, new DateTime(0) };
-
Count = 667;
Name="Bazza";
--- 572,575 ----
Index: NHibernate.DomainModel-1.1.csproj
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHibernate.DomainModel-1.1.csproj,v
retrieving revision 1.24
retrieving revision 1.25
diff -C2 -d -r1.24 -r1.25
*** NHibernate.DomainModel-1.1.csproj 1 Sep 2004 00:10:11 -0000 1.24
--- NHibernate.DomainModel-1.1.csproj 3 Nov 2004 03:37:05 -0000 1.25
***************
*** 658,661 ****
--- 658,670 ----
/>
<File
+ RelPath = "NHSpecific\BasicTime.cs"
+ SubType = "Code"
+ BuildAction = "Compile"
+ />
+ <File
+ RelPath = "NHSpecific\BasicTime.hbm.xml"
+ BuildAction = "EmbeddedResource"
+ />
+ <File
RelPath = "NHSpecific\BlobberInMemory.cs"
SubType = "Code"
|