1
0
mirror of synced 2025-03-12 07:36:09 +03:00

Merge pull request #1516 from brabeji/patch-1

Clarify @DiscriminatorMap requirement
This commit is contained in:
Marco Pivetta 2015-10-02 05:30:09 -03:00
commit 5c6f0edb23

View File

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