[nhusers] Re: ProjectionCriteria as Having Clause

2009-08-14 Thread imm102
Thanks for replying. I had seen this patch and that is what prompted me to try the way I did. However, I am using a detached criteria to build my search query and that's the issue. Looking at the source, ProjectionCriteria is only present on CriteriaImpl. It is not on ICriteria or DetachedCriteria

[nhusers] Re: ProjectionCriteria as Having Clause

2009-08-14 Thread cws
Hello! Maybe you found this on your own by now but anyway Look on this http://nhjira.koah.net/browse/NH-1280 and in the Nhibernate.Test project on the same corresponding test On Aug 10, 7:56 pm, imm102 wrote: > Hi, > > I just upgraded to 2.1.0 and ProjectionCriteria is now no where to be > se

[nhusers] Re: ProjectionCriteria as Having Clause

2009-08-10 Thread imm102
Hi, I just upgraded to 2.1.0 and ProjectionCriteria is now no where to be seen :( Does anyone have any examples of how I can do this relatively common query? Thanks, On Aug 10, 3:58 pm, imm102 wrote: > Hi, > > I am trying to come up with a criteria to restrict an aggregate root > based on a se