> NH-2403    [PATCH]    Linq boolean constants are of wrong type (integer)
>     Tiny patch, fixes some parts of Linq for databases that don't use
> integers for bools (like PostgreSQL).

        Why would you use integers for bools in the first place? The
constant is 'bool' in the expression tree and databases which do support
bool types (sqlserver, mysql, postgresql, access, at least one sybase flavor
...) can directly eat it as a parameter value. For databases which don't
support native bool types (oracle mostly), need a conversion and this
conversion should be like the one defined in the hibernate config file or
through an IUserType implementation.

                FB

Reply via email to