Permalink
Browse files

Merge pull request #975 from tkleinhakisa/doc-automatic-discriminator…

…-map

Added info about automatic discriminator map
  • Loading branch information...
2 parents f197a9c + 832127a commit 87505c8716bf7df2f7d7c77e8f9a7657571bce78 @Ocramius Ocramius committed Mar 11, 2014
Showing with 6 additions and 0 deletions.
  1. +6 −0 docs/en/reference/inheritance-mapping.rst
@@ -123,6 +123,9 @@ Things to note:
be fully qualified if the classes are contained in the same
namespace as the entity class on which the discriminator map is
applied.
+- If no discriminator map is provided, then the map is generated
+ automatically. The automatically generated discriminator map
+ contains the lowercase short name of each class as key.
Design-time considerations
~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -210,6 +213,9 @@ Things to note:
be fully qualified if the classes are contained in the same
namespace as the entity class on which the discriminator map is
applied.
+- If no discriminator map is provided, then the map is generated
+ automatically. The automatically generated discriminator map
+ contains the lowercase short name of each class as key.
.. note::

0 comments on commit 87505c8

Please sign in to comment.