Jira issue originally created by user syao.work:
Bidirectional one-to-many association with Class Table Inheritance does not work. Example.
Entity BoxItem extends Item;
BoxItem has ManyToOne to Box;
Box has OneToMany to BoxItems;
Got an error: Entities\Box: "The association Entities\Box#items refers to the owning side field Entities\BoxItem#box which does not exist.",
Comment created by @ocramius:
Not a blocker
[~syao.work] this looks invalid to me.
* @MayToOne(targetEntity="Asmuo", inversedBy="items")
* @JoinColumn(name="box_id", referencedColumnName="id")
Comment created by syao.work:
Sorry, I did post wrong file BoxItem, my mistake, but the bug persists.
Just checked on my side with attached entities (changed some namespaces, see latest attached files) and everything's fine.
[~syao.work] you got a typo on one of your annotations, which is MayToOne and should be ManyToOne.
Comment created by @beberlei:
Error caused by Invalid mapping
Issue was closed with resolution "Invalid"