diff --git a/docs/en/reference/xml-mapping.rst b/docs/en/reference/xml-mapping.rst index dbf97dc0a..5f0131527 100644 --- a/docs/en/reference/xml-mapping.rst +++ b/docs/en/reference/xml-mapping.rst @@ -321,12 +321,12 @@ Using the simplified definition above Doctrine will use no identifier strategy for this entity. That means you have to manually set the identifier before calling ``EntityManager#persist($entity)``. This is the so called -``ASSIGNED`` strategy. +``NONE`` strategy. If you want to switch the identifier generation strategy you have to nest a ```` element inside the id-element. This of course only works for surrogate keys. For composite keys you always -have to use the ``ASSIGNED`` strategy. +have to use the ``NONE`` strategy. .. code-block:: xml