In Symfony2 you can work with multiple entity managers and use something like the code below:
$em = $this->get(\'doctrine\')->getManager(); $em = $this
If your entity managers config name is non_default then you can reference it as @doctrine.orm.non_default_entity_manager
non_default
@doctrine.orm.non_default_entity_manager