2010/12/7 jafin <[email protected]>: > From some code we use with NH 3.0 Alpha 2: > > Session.Query<Diagnosis>().Where(diagnosis => true); > > SQL Output (NH 3.0 Alpha2) -- Working as expected > ------------------------------------ > NHibernate: select cast(count(*) as INTEGER) as col_0_0_ from > Diagnosis diagnosis0_ where @p0=1;@p0 = True [Type: Int32 (0)] > > SQL output (NH 3.0 GA) -- not returning results. > ------------------------------------ > select cast(count(*) as INTEGER) as col_0_0_ from Diagnosis > diagnosis0_ where @p0='true';@p0 = 'True' [Type: String (0)]
This looks like it would break when running on a case-sensitive database enginge (which includes MSSQL if such a collation is choosen). /Oskar -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
