The patch fixes "org.hibernate.AnnotationException: @Any requires an explicit @JoinColumn(s)"
but not "org.hibernate.MappingException: Foreign key ... must have same number of columns as the referenced primary key"
which probably is other issue.
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
A patch was requested https://github.com/hibernate/hibernate-orm/pull/477
The patch fixes "org.hibernate.AnnotationException: @Any requires an explicit @JoinColumn(s)"
but not "org.hibernate.MappingException: Foreign key ... must have same number of columns as the referenced primary key"
which probably is other issue.