The JPA CriteriaBuilder contract defines the following methods in relation to Collections:
- javax.persistence.criteria.CriteriaBuilder#isEmpty
- javax.persistence.criteria.CriteriaBuilder#isNotEmpty
- javax.persistence.criteria.CriteriaBuilder#size
But it defines no support for any of these in regards to a Map. We should add support for these predicates against Maps to our CriteriaBuilderImpl. |