If the child entity only includes "id" that can be expressed via the parent FK, use a new strategy - "relatedViaParentFault" that would avoid an extra query for a relationship
TODO:
Since this eliminates the relationship prefetch, this change would not resolve or refresh target objects. So if the custom access checking (or other custom) code is in use, this strategy is not a good one, as it will result either in a large number of per-object queries or in stale data.
An optimization of Cayenne RelatedDataResolver:
If the child entity only includes "id" that can be expressed via the parent FK, use a new strategy - "relatedViaParentFault" that would avoid an extra query for a relationship
TODO:
Since this eliminates the relationship prefetch, this change would not resolve or refresh target objects. So if the custom access checking (or other custom) code is in use, this strategy is not a good one, as it will result either in a large number of per-object queries or in stale data.
cc: #442, #539, #623