Using Projections.Conditional inside of Projections.Count and Projections.Avg generates invalid sql.
Description
Environment
None
is duplicated by
is related to
Activity
Show:

Alex Zaytsev May 1, 2017 at 3:42 AM
Closing issues resolved in 4.1.0

Bryan Pedlar August 3, 2014 at 4:55 PM
Yes I did, months ago. Looks like there are conflicts now...

Oskar Berggren August 3, 2014 at 4:45 PM
Did you manage to do a pull request? Or a complete test case?

Bryan Pedlar April 2, 2014 at 7:22 PM
I have figured out what the issue was and am working on getting a pull request together for this issue.
Fixed
Details
Details
Assignee

Reporter

Labels
Components
Fix versions
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created April 1, 2014 at 10:30 PM
Updated March 16, 2018 at 10:28 PM
Resolved September 4, 2015 at 1:03 PM
Who's Looking?
In using the QueryOver api to generate a query I needed to do a rather complex projection that required some nesting. With a very simple mapping, and across all of the dialects I've tested against, this construct doesn't work: