I have a structure like this:

  • A contains collection of B (mapped as not-lazy)
  • B contains collection of C (mapped as not-lazy)

I'd like to make a query, that retrieves A objects, that contain B objects without the C objects within them. Is that possible? The other way around will work for me too (if B-C relation is mapped lazy and the query retrieves A, containing B and C).

Thanks!

Edit
Report