1
0
mirror of synced 2025-02-10 01:09:26 +03:00

Merge pull request #6119 from mschroeder/patch-2

Fixed typo regarding the id generator mandatory for composite keys
This commit is contained in:
Marco Pivetta 2016-11-06 13:38:50 +01:00 committed by GitHub
commit bd58e4de4f

View File

@ -13,7 +13,7 @@ This tutorial shows how the semantics of composite primary keys work and how the
General Considerations General Considerations
~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~
Every entity with a composite key cannot use an id generator other than "ASSIGNED". That means Every entity with a composite key cannot use an id generator other than "NONE". That means
the ID fields have to have their values set before you call ``EntityManager#persist($entity)``. the ID fields have to have their values set before you call ``EntityManager#persist($entity)``.
Primitive Types only Primitive Types only