I wonder if this can be resolved with less overhead:
Given a simple one-to-many relationship Product --> Size (Product has got one size). In order to figure out how many products are assigned to a size I would update the mapping of Size with a Product-Bag
. But what if I am only interested in the count (no need for any product details), can this be done without the overhead of loading all the product-objects?
Thx for any tipps sl3dg3