> > For a single column subquery projection you get a fully typesafe > expression. > > e.g. > > subquery().from(user).uniqueResult(user.age) returns a > NumberExpression<Integer> >
That looks very promising! I'll have a deeper look at that later. Thanks for the hint. And nice UML diagram :-)
