Skip to content

Commit

Permalink
Merge pull request #6260 from mikeSimonson/doc
Browse files Browse the repository at this point in the history
Document the Custom option of the generated value annotation
  • Loading branch information
mikeSimonson authored Jan 26, 2017
2 parents 888f1be + 773af5b commit 5989ea1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/en/reference/basic-mapping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
^^^^^^^^^^^^^^^^^^
Expand Down

0 comments on commit 5989ea1

Please sign in to comment.