1
0
mirror of synced 2025-02-09 08:49:26 +03:00

Clarify @DiscriminatorMap reqirement

When trying to setup MTI with doctrine, this was always the sentence where I stopped reading as it seems useless if you are forced to specify list of children when you don't even know them. Today I accidentaly read further and found out that this is not necessary.
This commit is contained in:
Jiří Brabec 2015-09-25 12:47:51 +02:00
parent b055d78ea1
commit 4b87f5827f

View File

@ -125,9 +125,8 @@ Example:
Things to note:
- The @InheritanceType, @DiscriminatorColumn and @DiscriminatorMap
must be specified on the topmost class that is part of the mapped
entity hierarchy.
- The @InheritanceType and @DiscriminatorColumn must be specified
on the topmost class that is part of the mapped entity hierarchy.
- The @DiscriminatorMap specifies which values of the
discriminator column identify a row as being of a certain type. In
the case above a value of "person" identifies a row as being of