1
0
mirror of synced 2025-02-09 00:39:25 +03:00

Merge pull request #6260 from mikeSimonson/doc

Document the Custom option of the generated value annotation
This commit is contained in:
mikeSimonson 2017-01-26 14:12:34 +01:00 committed by GitHub
commit 5989ea1752

View File

@ -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
^^^^^^^^^^^^^^^^^^