I have this method in my service:
public function updateCountry($p_entity) { var_dump($p_entity->getId()); //return 3 (as expected) var_du
You shouldn't persist existing in DB entity, only new one. So if you get entity from DB and want to update it you should