|
The workaround is better than the original query that was broken by
HHH-9305
. The original query has a redundant join. It will not perform as well as the query using the attribute path in the workaround.
I've discussed this with Emmanuel Bernard, and we agree that using the 2 explicit joins (e.g., one fetch, and one non-fetch) should work.
The fix for
HHH-9305
to reuse FromElement was intended only for "implicit joins". It should not have reused FromElement in this case, as both joins were explicit.
|