Description:
|
Hibernate does not support declaring a mapped relationship from the non-owning entity to a subclass of the entity where the foreign-key field is physically declared. The exception raised when such a relationship is attempted simply says that the target field cannot be found. It would be helpful if instead, when the target field exists on a superclass of the target type, the exception message specifically stated that the mapped relationship must be declared to the exact type where the owning field is located.
|