[jOOQ/jOOQ#9242] Fix implementation of AbstractKey#equals(Object)
Since keys can be unnamed, the implementation must also compare using the `fields` instance field.
This commit is contained in:
parent
f128109e46
commit
9b9622f2bc
@ -127,6 +127,8 @@ abstract class AbstractKey<R extends Record> implements Key<R> {
|
||||
}
|
||||
else if (!table.equals(other.table))
|
||||
return false;
|
||||
else if (!Arrays.equals(fields, other.fields))
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user