Christopher Smith edited a comment on Bug HHH-7635

It appears that PersistentClass#getPropertyIterator() is getting tripped up when it tries to add all the joined properties; even though our AbstractOrder is annotated with @Inheritance(strategy = InheritanceType.JOINED) (which I neglected to include above), the joins field on the PersistentClass entry for SpecialOrder is empty (instead of having a join to AbstractOrder, which would presumably find the appropriate property).

PersistentClass.joins is initialized as an empty list and added to by PersistentClass#addJoin(), which is not called before the joined subclass is iterated over to try to find the relationship property defined on the superclass.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira