visibility changed for $entity, $selectionFactory, $connection