entity::setLoaded, repository sets entity loaded in persist method