HHH-10293 - Schema Update - Single table Inheritance with bi-directional OneToMany referencing superclass fails
This commit is contained in:
parent
ccf7fe2e49
commit
0ed5fcfc66
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue