Kurt Stam commented on an issue
Hibernate ORM / Bug HHH-7630
JOINED classes cause exception when referenced as a Collection and using @OrderBy
Adding a collection of entities that use the inheritance strategy JOINED and adding an order by to the collection causes the following exception:

{noformat}
Caused by: org.hibernate.HibernateException: Could not locate table which owns column [id] referenced in order-by mapping
at org.hibernate.persister.entity.JoinedSubclassEntityPersister.determineTabl...