From: Michael D. <mik...@us...> - 2004-09-01 00:10:52
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17963/NHibernate.DomainModel Modified Files: Foo.cs FooBar.hbm.xml FooProxy.cs NHibernate.DomainModel-1.1.csproj Log Message: Beginning to isolate the Types so I can figure out what is ADO.NET driver problems and which are NHibernate problems. NH works great with Ms Sql 2000, but not so great with MySql & Oracle. Index: FooBar.hbm.xml =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/FooBar.hbm.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** FooBar.hbm.xml 31 Aug 2004 21:22:58 -0000 1.16 --- FooBar.hbm.xml 1 Sep 2004 00:10:11 -0000 1.17 *************** *** 46,50 **** </property> <property name="X"/> ! <property name="Double" column="double_" type="double"/> <primitive-array name="Bytes" table="foobytes"> --- 46,50 ---- </property> <property name="X"/> ! <!--<property name="Double" column="double_" type="double"/>--> <primitive-array name="Bytes" table="foobytes"> Index: FooProxy.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/FooProxy.cs,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** FooProxy.cs 31 Aug 2004 21:22:58 -0000 1.7 --- FooProxy.cs 1 Sep 2004 00:10:11 -0000 1.8 *************** *** 80,88 **** } ! double Double ! { ! get; ! set; ! } float Float --- 80,88 ---- } ! // double Double ! // { ! // get; ! // set; ! // } float Float Index: NHibernate.DomainModel-1.1.csproj =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/NHibernate.DomainModel-1.1.csproj,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** NHibernate.DomainModel-1.1.csproj 31 Aug 2004 20:24:23 -0000 1.23 --- NHibernate.DomainModel-1.1.csproj 1 Sep 2004 00:10:11 -0000 1.24 *************** *** 631,634 **** --- 631,643 ---- /> <File + RelPath = "NHSpecific\BasicDouble.cs" + SubType = "Code" + BuildAction = "Compile" + /> + <File + RelPath = "NHSpecific\BasicDouble.hbm.xml" + BuildAction = "EmbeddedResource" + /> + <File RelPath = "NHSpecific\BasicObject.cs" SubType = "Code" Index: Foo.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.DomainModel/Foo.cs,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Foo.cs 31 Aug 2004 21:22:58 -0000 1.13 --- Foo.cs 1 Sep 2004 00:10:11 -0000 1.14 *************** *** 33,37 **** private float _float; private int _x; ! private double _double; private DateTime _date; private DateTime _timestamp; --- 33,37 ---- private float _float; private int _x; ! // private double _double; private DateTime _date; private DateTime _timestamp; *************** *** 113,124 **** } ! /// <summary> ! /// Get/set for double ! /// </summary> ! public double Double ! { ! get { return _double; } ! set { _double = value; } ! } /// <summary> --- 113,124 ---- } ! // /// <summary> ! // /// Get/set for double ! // /// </summary> ! // public double Double ! // { ! // get { return _double; } ! // set { _double = value; } ! // } /// <summary> *************** *** 337,341 **** _float = 6666.66f; //_double = new Double( 1.33e-69 ); // this double is too big for the sap db jdbc driver ! _double = 1.12e-36; _boolean = true; _byte = 127; --- 337,341 ---- _float = 6666.66f; //_double = new Double( 1.33e-69 ); // this double is too big for the sap db jdbc driver ! // _double = 1.12e-36; _boolean = true; _byte = 127; *************** *** 381,390 **** } } ! return ( _bool == other.Bool ) && ( ( _boolean == other.Boolean ) || ( _boolean.Equals(other.Boolean) ) ) && ( ( _byte == other.Byte ) || ( _byte.Equals(other.Byte) ) ) //&& ( ( this._date == other._date ) || ( this._date.getDate() == other._date.getDate() && this._date.getMonth() == other._date.getMonth() && this._date.getYear() == other._date.getYear() ) ) ! && ( ( _double == other.Double ) || ( _double.Equals(other.Double) ) ) && ( ( _float == other.Float ) || ( _float.Equals(other.Float) ) ) && ( _int == other.Int ) --- 381,391 ---- } } ! ! return ( _bool == other.Bool ) && ( ( _boolean == other.Boolean ) || ( _boolean.Equals(other.Boolean) ) ) && ( ( _byte == other.Byte ) || ( _byte.Equals(other.Byte) ) ) //&& ( ( this._date == other._date ) || ( this._date.getDate() == other._date.getDate() && this._date.getMonth() == other._date.getMonth() && this._date.getYear() == other._date.getYear() ) ) ! // && ( ( _double == other.Double ) || ( _double.Equals(other.Double) ) ) && ( ( _float == other.Float ) || ( _float.Equals(other.Float) ) ) && ( _int == other.Int ) |