There was an error while loading. Please reload this page.
1 parent 1dc3ef5 commit c1497bcCopy full SHA for c1497bc
book/doctrine/orm/configuration.rst
@@ -167,11 +167,13 @@ The following configuration code shows how to define two EntityManagers:
167
entity_managers:
168
default:
169
connection: default
170
- mappings: MyBundle1: ~
171
- mappings: MyBundle2: ~
+ mappings:
+ MyBundle1: ~
172
+ MyBundle2: ~
173
customer:
174
connection: customer
- mappings: MyBundle3: ~
175
176
+ MyBundle3: ~
177
178
Just like the DBAL, if you have configured multiple ``EntityManager``
179
instances and want to get a specific one you can use the full service name to
0 commit comments