I am using NH to map c#-double values into SQL Server 2005 as floats.
Everything works perfectly fine, however recently I tried running the SchemaValidator.
SchemaValidator fails:
Found: float, Expected DOUBLE PRECISION
Creating the tables using DOUBLE PRECISION works, but SQL Server will report the columns as float
Am I missing something here, or is this a (minor) bug in NHibernates type-Mapping?
EDIT:
This bug is fixed in the 2014-06-27 release: NHibernate-4.0.0.Alpha2
Float(53) or just float in SQL Server has the same precision as C# double, so it would be a bug in the validator.