[DDC-448] Cannot select rows from chield table by JoinColumn in @InheritanceType("JOINED") parent table Created: 20/Mar/10 Updated: 13/Apr/10 Resolved: 12/Apr/10
|Project:||Doctrine 2 - ORM|
|Reporter:||Uvarov Michael||Assignee:||Roman S. Borschel|
This bug is connected with http://www.doctrine-project.org/jira/browse/DDC-416
So, we cannot select rows by JoinColumn from Inheritance tables, because doctrine selects SubTable.connectedClassId field, not mainTable.connectedClassId
This bug was fix in http://www.doctrine-project.org/jira/browse/DDC-416 patch, but it was not commited. I may write unit test for this problem
|Comment by Guilherme Blanco [ 12/Apr/10 ]|
In http://github.com/doctrine/doctrine2/commit/56a8f5cd5353908b815607a6e089201c95e01e6c this issue was fixed!
Thanks for the report!
|Comment by Roman S. Borschel [ 13/Apr/10 ]|
The testcase is irritating though, because connectedClassId is an object, not an id.