Well it renders "count(distinct ...)" but this is HQL. HQL then picks up that and applies the count function defined for the dialect which is what you can provide/override. The syntax stays the same, you only replace the count model to sql generation. |