With the recent auto-mapping change I'm wondering why the use of the 
auto-mapping and multiple entity managers is mutual exclusive?

I have an app that needs to access to multiple databases some of them with 
identical schemas. Right now I need to create an entitiy manager for each 
connection and then for each manager repeat the explicit bundles I want to 
map. What I'd rather like to do is to tell Symfony to do auto mapping just 
like I can do if I was using a single entity manager.
What I'm looking for is something like this:

    orm:
        auto_generate_proxy_classes: %kernel.debug%
        default_entity_manager: default
        entity_managers:
            default:
                connection: default
                mappings:
                    AcmeDemoBundle: ~
            db1:
                connection: db1
                auto_mapping: true
            db2:
                connection: db2
                auto_mapping: true

Is there a specific reason why auto_mapping has been added but specifically 
not been made available on a per entitiy-manager basis?

Regards,
  Dennis

-- 
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 developers" 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-devs?hl=en

Reply via email to