Doctrine DQL, class table inheritance and access to subclass fields
问题 I have a problem with a DQL query and entity specialization. I have an Entity called Auction , which is OneToOne relation with Item . Item is a mappedSuperclass for Film and Book . I need a query that could back a search engine, allowing the user to look for auctions with different properties AND selling items with different properties (it is the AND part that makes it challenging). The problem is that even though Auction has an association pointing to Item as such, I need to have access to