Hibernate 2: How I write a query that specified that a collection in an object is empty or null?
posted 7 years ago
I have Box. Box has collection of Items. I want to write a query that gets all Boxes with no items.
I could just get all boxes and go through all of them to check if they have no items but is there a better way?
Here are the mappings.