|
This relates back to
HHH-8330
and HHH-8980. The better solution to that scenario is to instead look at whether the attribute to be joined is declared on:
-
The class being processed
-
A super-class of the class being processed
-
A sub-class of the class being processed
If declared on the class being processed, or one of its super-classes it is ok to use an inner join, provided that the attribute metadata says its ok (non-optional, etc). For cases where the attribute is declared on a sub-class of the class being processed, it is never going to be appropriate to use an inner join.
|