configuration query substitutions

--
Fabio Maulo


El 07/12/2010, a las 02:27, jafin <[email protected]> escribió:

> 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.
>

-- 
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.

Reply via email to