Actually isEmpty() is always loading the collection in LazyCriteriaCollection. A lazy version should use the existing functionality of count() to check if there are no elements if the collection is not initialized.
Actually isEmpty() is always loading the collection in LazyCriteriaCollection. A lazy version should use the existing functionality of count() to check if there are no elements if the collection is not initialized.