For what it is worth... Locally I was able to use CriteriaBuilder#isEmpty with a Map even though the signature is clearly defined only for Expression<Collection> - no explanation as to why. Regardless, I have added the methods above. Note that
HHH-6686 Open affects these new #isMap[Not]Empty methods too... |