Resolution: Works as designed
Quite happy to see jpa 2.1 is near...
I couldn't seem to subscribe to the mailing list, so here are some comments.
Some minor question/suggestion, maybe already discussed?
Why do we have this:
CriteriaQuery<T> where(Predicate... restrictions);
But not, additionnally, this:
CriteriaQuery<T> where(List<Predicate> restrictions);
While there is:
CriteriaQuery<T> groupBy(Expression<?>... grouping);
CriteriaQuery<T> groupBy(List<Expression<?>> grouping);
And List parameters for having, orderBy, ...