Hi All. Does anybody know why `org.apache.deltaspike.data.api.criteria.Criteria` methods `empty` and `notEmpty` take `SingularAttribute` parameter and not `PluralAttribute` ?
https://deltaspike.apache.org/javadoc/1.5.5-SNAPSHOT/org/apache/deltaspike/data/api/criteria/Criteria.html states - ------- <P extends Collection<?>> Criteria<C,R> empty(javax.persistence.metamodel.SingularAttribute<? super C,P> att) ... att - The collection attribute to check for emptyness. ------- But `SingularAttribute` ( https://docs.oracle.com/javaee/6/api/javax/persistence/metamodel/SingularAttribute.html) is ------- Instances of the type SingularAttribute represents persistent single-valued properties or fields. ------- Am I missing something or is it simply wrong? Best Regards, Alex
