{"shas":[["014b19040c90184633fb308b47d4b2500a4d3008","d4f8dcd89cfe40276c0fbf336903f4a05ab082c9@gmail.com","[DoctrineBundle] changed the Registry to return a new instance if the current em is closed\n\n    $em = $this->get('doctrine')->getEntityManager();\n\n    $em->getConnection()->beginTransaction(); // suspend auto-commit\n    try {\n        //... do some work\n    } catch (Exception $e) {\n        $em->getConnection()->rollback();\n        $em->close();\n\n        // get a new EM\n        $em = $this->get('doctrine')->getEntityManager();\n    }","Fabien Potencier"]],"repo":"fabpot/symfony","actor":"fabpot","ref":"refs/heads/doctrine-registry","size":1,"head":"014b19040c90184633fb308b47d4b2500a4d3008","actor_gravatar":"f1a2c5905e121d09feba5ad73898ffca","push_id":30387007}