Add CriteriaBuilder overloads for methods dealing with Collection to also deal with Map

Description

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

Environment

None

Status

Assignee

Steve Ebersole

Reporter

Steve Ebersole

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Priority

Major
Configure