This almost works already, except when matching entities by ID using in-memory table: this relies on EntityIdSchema.compare(ID, ID) which is inconsistent with ID.equals() in case of string-valued types. We should compare IDs as their toString() values and not their components in this case.
This almost works already, except when matching entities by ID using in-memory table: this relies on
EntityIdSchema.compare(ID, ID)
which is inconsistent withID.equals()
in case of string-valued types. We should compare IDs as theirtoString()
values and not their components in this case.