Issue Type: Improvement Improvement
Affects Versions: 4.1.8
Assignee: Unassigned
Components: core
Created: 26/Sep/12 6:02 PM
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.

Project: Hibernate ORM
Labels: hibernate jpa2
Priority: Minor Minor
Reporter: Christopher Smith
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