Is 'diagnosis' defined as a string or bool? You really need to provide more information, such as your mappings and class definitions.
On Dec 7, 12:32 pm, jafin <[email protected]> wrote: > 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)] > > I'm assuming I've hit a breaking change, just after advise on how to > resolve it? > > Thanks, > Jason -- 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.
