]
Steve Ebersole commented on HIBERNATE-93:
-----------------------------------------
Wrong Jira :)
Missing referencedColumnName attribute in @JoinColumn annotation
should log error
---------------------------------------------------------------------------------
Key: HIBERNATE-93
URL:
https://issues.jboss.org/browse/HIBERNATE-93
Project: Hibernate Integration
Issue Type: Feature Request
Environment: Hibernate 3.2.4 SP1
Reporter: James Kelly
Assignee: Steve Ebersole
This is specifically when a @JoinColumn is part of a @JoinColumns annotation. The spec
wording is:
"When the JoinColumns annotation is used, both the name and the referencedColumnName
elements must be specified in each such JoinColumn annotation."
Hibernate accepts JoinColumn annotations with the missing referencedColumnName even
though this causes unpredictable behavior.