From 773af5b30678012c6eb39d90a747064e342e492a Mon Sep 17 00:00:00 2001 From: mike Date: Wed, 25 Jan 2017 15:54:03 +0100 Subject: [PATCH] Document the Custom option of the generated value annotation --- docs/en/reference/basic-mapping.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/en/reference/basic-mapping.rst b/docs/en/reference/basic-mapping.rst index 07bff32f62e..613d98dcc85 100644 --- a/docs/en/reference/basic-mapping.rst +++ b/docs/en/reference/basic-mapping.rst @@ -363,6 +363,8 @@ Here is the list of possible generation strategies: thus generated) by your code. The assignment must take place before a new entity is passed to ``EntityManager#persist``. NONE is the same as leaving off the @GeneratedValue entirely. +- ``CUSTOM``: With this option, you can use the ``@CustomIdGenerator`` annotation. + It will allow you to pass a :ref:`class of your own to generate the identifiers <_annref_customidgenerator>` Sequence Generator ^^^^^^^^^^^^^^^^^^