Hi @all, I am just trying out the data module and it seems that the CriteriaSupport#count() method is too restrictive on the attribute parameter type. The current declaration is:
<N extends Number> QuerySelection<E, N> count(SingularAttribute<E, N> attribute); while it should probably be: <N extends Number> QuerySelection<E, N> count(SingularAttribute<E, ?> attribute); That's because when using the Criteria API alone, there is no such restriction to the attribute type. Could this be an oversight? Best regards, Radu
