diff --git a/doctrine/multiple_entity_managers.rst b/doctrine/multiple_entity_managers.rst index 50acceddf1a..949c41112f5 100644 --- a/doctrine/multiple_entity_managers.rst +++ b/doctrine/multiple_entity_managers.rst @@ -16,6 +16,12 @@ entity manager that connects to another database might handle the rest. usually required. Be sure you actually need multiple entity managers before adding in this layer of complexity. +.. caution:: + + Entities cannot define associations across different entity managers. If you + need that, there are `several alternatives `_ + that require some custom setup. + The following configuration code shows how you can configure two entity managers: .. configuration-block::