Issue #3241566: Entity/Query/Sql/Tables has EntityType as paramater type this should be EntityTypeInterface
Closes #3241566