Hi Mattieu,

Did you check the MasterSlaveConnection?
https://github.com/doctrine/dbal/blob/149f18001a459c22e1f2a87903e455eb89c1b4de/lib/Doctrine/DBAL/Connections/MasterSlaveConnection.php

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 27 February 2014 21:55, Matthieu Napoli <[email protected]> wrote:

> Hi there,
>
> I have read how to create several DBAL connections for handling slaves and
> read/writes separation (for example in Symfony 2). However I see nowhere a
> mention that it indeeds works with the ORM and the EntityManager.
>
> Is there a way to have the EntityManager perform read queries on a
> connection, and write queries/transactions on another?
>
> Thanks
> Matthieu
>
> --
> You received this message because you are subscribed to the Google Groups
> "doctrine-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/doctrine-user.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to