HHH-10293 - Schema Update - Single table Inheritance with bi-directional OneToMany referencing superclass fails

This commit is contained in:
Andrea Boriero 2015-11-15 16:05:59 +00:00
parent ccf7fe2e49
commit 0ed5fcfc66
1 changed files with 1 additions and 3 deletions

View File

@ -856,9 +856,7 @@ public class Table implements RelationalModel, Serializable, Exportable {
public boolean equals(Object other) { public boolean equals(Object other) {
ForeignKeyKey fkk = (ForeignKeyKey) other; ForeignKeyKey fkk = (ForeignKeyKey) other;
return fkk.columns.equals( columns ) && return fkk.columns.equals( columns ) && fkk.referencedColumns.equals( referencedColumns );
fkk.referencedClassName.equals( referencedClassName ) && fkk.referencedColumns
.equals( referencedColumns );
} }
@Override @Override