mysema/querydsl — pull request #307 by velo (2012-12-02 18:34:39+00:00)
Title: Changed count() to NumberExpression

So, what is the motivation behind this change...

I used @QueryProjection to generate the Q*Constructor for me.

And one of my fields is an count of elements on a child list.

Since the constructor generate by apt was requiring a NumberExpression but count was returning just a regular Expression I decided to change it to NumberExpression.

Tests are happy here.