1
0
mirror of synced 2025-03-06 12:56:10 +03:00

Document the Custom option of the generated value annotation

This commit is contained in:
mike 2017-01-25 15:54:03 +01:00
parent 9c76c3766f
commit 773af5b306

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