doctrine/orm-documentation — Issue #67: Clarification for STI/CTI performance warning with associations
Author: keymaster
Created: 2011-12-20 12:46:13+00:00
State: open

In sections 7.2.2 and 7.3.2 of the Reference doc, there is a statement about Performance Impact which could be stated more clearly.

Replace:

"If you use a STI entity as a many-to-one or one-to-one entity you should never use one of the classes at the upper levels of the inheritance hierachy as “targetEntity”, only those that have no subclasses"

With:

"If the target-entity of a many-to-one or one-to-one association is an STI/CTI entity, it must be a leaf entity in the inheritance heirarchy, (ie. have no subclasses)."