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.
See http://stackoverflow.com/questions/40259448/jpa-criteriabuilder-to-generate-query-where-map-is-empty-using-mapkeycolumn |
|