Touche! -------- Original-Nachricht -------- > Datum: Wed, 13 Apr 2011 10:16:21 -0600 > Von: Patrick Earl <[email protected]> > An: [email protected] > Betreff: Re: RE: [nhibernate-development] NH-2583 - Query with || operator > and navigations (many-to-one) creates wrong joins
> This is just a small thing, but (A = B OR A IS NULL AND B IS NULL) is > not valid. You need to write ((A = B AND A IS NOT NULL AND B IS NOT > NULL) OR (A IS NULL AND B IS NULL)). Otherwise, it's not a boolean > expression and when you put a NOT in front, suddenly your "false" is > still "false". -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
