mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Inheritance mapping: Entity has no field or association named username #6041
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bentcoder on GitHub (Aug 21, 2018).
Originally assigned to: @Ocramius on GitHub.
Support Question
Just wondering if I am doing something wrong or missing. I am not able to write a query to pull data from child class when I use entity repository of the parent class. Is such thing possible? If not what the best way of doing this rather than injecting the entity repository of the child class?
I get error below:
Thanks
ENTITY
REPOSITORY
I can solve the problem by injecting other entity repos like below and use the relevant one while using query builder but this wouldn't be scalable as you will guess!