Missing referencedColumnName attribute in @JoinColumn annotation should log error
---------------------------------------------------------------------------------
Key: HIBERNATE-93
URL:
http://jira.jboss.com/jira/browse/HIBERNATE-93
Project: Hibernate
Issue Type: Feature Request
Environment: Hibernate 3.2.4 SP1
Reporter: James Kelly
Assigned To: 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira