Uploaded image for project: 'NHibernate [Moved to GitHub]'
  1. NH-2863

Criteria API restriction over aggregate function wrapped in NotExpression is wrongly placed in WHERE clause instead of HAVING clause which generates invalid SQL

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.0.GA
    • Fix Version/s: 3.3.0.CR1
    • Component/s: Core
    • Labels:
      None
    • Sprint:

      Description

      NH-1280 Closed introduced bug in NotExpression.GetProjections() - restriction over aggregate function wrapped in NotExpression is wrongly placed in WHERE clause instead of HAVING clause which generates invalid SQL

      test and bug fix are provided as pull request here: https://github.com/nhibernate/nhibernate-core/pull/3

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              filipk Filip Kinský
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Who's Looking?