I\'m using Doctrine2 to manage my model below: There\'s an abstract concept Content
with a Composite pattern in Gallery
, also an abstract concept <
I answer my question myself hoping it will help someone someday.
I opened a bug report in github for doctrine2 with this question and the answer is pretty clear: This is not supported.
UPDATED 2013/07/27
I just tried this with Doctrine 2.3.4 and it works as expected. :D
If they're all abstract I find it makes more sense to put DiscriminatorMap
only in the top level entity.