Is there an "easy" way to retrieve a full tree of entities.That is: let say I want to retrieve a customer and all the entities directly or indirectly linked to this customer, like orders, orderdetails, products etc. (adapter mode)
I mean a way without having to create prefetchpaths (that could become cumbersome in case of complex entity trees) + have to be maintained when DB evolves
I understand this a tricky scenario that could lead to querying the full database but could be used in controlled cases. Maybe a "level" option limiting the level to which this "automatic prefetch" would go.
Thanks in advance