We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc3a2ca commit 376a840Copy full SHA for 376a840
doctrine/multiple_entity_managers.rst
@@ -16,6 +16,12 @@ entity manager that connects to another database might handle the rest.
16
usually required. Be sure you actually need multiple entity managers before
17
adding in this layer of complexity.
18
19
+.. caution::
20
+
21
+ Entities cannot define associations across different entity managers. If you
22
+ need that, there are `several alternatives <https://stackoverflow.com/a/11494543/2804294>`_
23
+ that require some custom setup.
24
25
The following configuration code shows how you can configure two entity managers:
26
27
.. configuration-block::
0 commit comments