Binder#bindUniqueConstraints assumes that the @UniqueConstraint table names are within the EntityBinding's primary and secondary tables, when @CollectionTable, @JoinTable, etc. are not.
Easy test case: change org.hibernate.test.annotations.collectionelement.Boy#getScorePerNickName's @CollectionTable to
Breakpoint on Binder#bindUniqueConstraints, then run org.hibernate.test.annotations.collectionelement.CollectionElementTest
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
Binder#bindUniqueConstraints assumes that the @UniqueConstraint table names are within the EntityBinding's primary and secondary tables, when @CollectionTable, @JoinTable, etc. are not.
Easy test case: change org.hibernate.test.annotations.collectionelement.Boy#getScorePerNickName's @CollectionTable to
Breakpoint on Binder#bindUniqueConstraints, then run org.hibernate.test.annotations.collectionelement.CollectionElementTest