Browse files

Fixes Criteria queries that use Restrictions.Not with an aggregate pr…

…ojection (NH-2869)

Using Restrictions.Not (NHibernate.Criterion.NotExpression) with an aggregate projection were generating incorrect SQL: putting the expression in the WHERE clause instead of the HAVING clause.
  • Loading branch information...
1 parent 59dc86f commit 400eef83c11c4927be84d3ce0fde3157a82529ea @julian-maughan julian-maughan committed Sep 20, 2011
Showing with 173 additions and 175 deletions.
  1. +169 −170 src/NHibernate.Test/NHSpecificTest/NH1280/NH1280Fixture.cs
  2. +4 −5 src/NHibernate/Criterion/NotExpression.cs
Oops, something went wrong.

0 comments on commit 400eef8

Please sign in to comment.