public function partialUpdate($object)
{
!$this->objectDefinition->canPartialUpdate() && $this->throwUnsupportedMethodException();
$em = $this->getManager();
$em->persist($object);
$em->flush();
$em->refresh($object);
return $object;
}