I changed a bit my entity manager configuration:

entity_managers:
        conn1:
            connection: conn1
            mappings:
                HelloBundle: { type: annotation }
        conn2:
            connection: conn2
            mappings:
                HelloBundle: { type: annotation, dir: Entity/Conn2/,
alias: Conn2, prefix: "Application\HelloBundle\Entity\Conn2" }

It kinda works like previous one, please tell me if you see any errors
in my config.

Regarding to getting repositories, I figured out that every method in
repo class needs to have "find" prefix in its name

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to