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