In Llglgen, when using adapter templates, and retrieving an entity (let's say a CustomerEntity), related entity collections (let Say CustomerEntity.Orders) will not be loaded. A prefetchpath is required to load the related entity collection.
When no prefetchpath is set, CustomerEntity.Orders will not be set to null but to a collection of Length 0
If I set a prefetchpath: the collection is loaded
Question is: when CustomerEntity.Orders is of length 0: Is there a way to know the reason why length is 0 (reason can be: no prefetch path set , so no data loaded OR prefetch path set but no orders in database for this customer.)
Thanks in advance