Lets say I have an entity Customer which has a ManyToMany relation to entity Adress. These get fetched via EAGER in Doctrine, so if I dump the entity, it already includes all the addresses.
How can I show one field of the first address in the datagrid without doing an extra join over the address table? Reason: This gets extremely slow when there are a lot of entries.
I tried to get the entity in a BuildAfterListener but this gives no results … any hints?
You must be logged in to reply to this topic.