What is the best way in doctrine2 to deal with different bases but with the same schema. Currently I
- generate entities separately for every database, adding namespace and name of database to every metadata object, putting them in the different namespaces (XXX\Base\EntityClass), but with the same alias
- create one EntityManager per base (even if they are sharing same connection)
- create a proxy which passes calls to multiple EntityManagers and collects responses
- merge responses in one output
Is there simpler way of dealing with multiple bases in doctrine2 ?