While fixing issue 1072, FieldDefinition.setForeignKeyFieldName() in schema
framework becomes deprecated and it is recommended to use ForeignKeyConstraint
object which can handle composite foreign key.
TableCreators in entity-persistence-tests testing framework are using only
FieldDefinition.setForeignKeyFieldName() to generate foreign key constraints. It
is required to find the usages of it and convert them to use
ForeignKeyConstraint object and TableDefinition.addForeignKeyConstraint() both
for single field foreign key and composite foreign key constraints.