[jboss-jira] [JBoss JIRA] (HIBERNATE-93) Missing referencedColumnName attribute in @JoinColumn annotation should log error
Steve Ebersole (JIRA)
issues at jboss.org
Thu Nov 19 10:45:02 EST 2015
[ https://issues.jboss.org/browse/HIBERNATE-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HIBERNATE-93.
-----------------------------------
Resolution: Rejected
> 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.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list