[DDC-2370] Subclass annotations not being read, unable to use OneToMany relation with single table inheritance Created: 26/Mar/13 Updated: 01/May/13 Resolved: 01/May/13
|Project:||Doctrine 2 - ORM|
|Reporter:||Arthur Bodera||Assignee:||Benjamin Eberlei|
|Labels:||annotationdriver, inheritance, orm|
Subclasses that override parent class properties and define relations will not work as expected, because AnnotationDriver/Reader will only use the parent class annotation (discarding whatever subclass defined).
The following code will produce error:
|Comment by Benjamin Eberlei [ 01/May/13 ]|
Overwriting assocations in this way is not supported.
|Comment by Arthur Bodera [ 01/May/13 ]|
Ok, I get that it's not supported right now, but why did you mark it as resolved?