@JoinColumn referencedColumnName does not find columns that are not directly in the associated entity
-----------------------------------------------------------------------------------------------------
Key: ANN-400
URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-400
Project: Hibernate Annotations
Type: Bug
Components: binder
Environment: 3.2.0.CR1
Reporter: Alex Bacon
Priority: Minor
I attempted to use @JoinColumn(referencedColumnName="id") to map to a property that was not in the associated entity class directly but rather in a MappedSuperclass that the entity extends. It did not find it. Stepping through the code it appears that in org.hibernate.cfg.BinderHelper in the Annotations project - the method findPropertiesByColumns is not finding properties that are not directly in the associated entity - it is not searching MappedSuperclasses as well.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|