Issue Task Closed

#53514Extbase: DataMapper causes redundant queries

Nico de Haen 11/11/13, 00:35 updated 10/23/17, 21:46

Description

The thawProperties method of the DataMapper does not check the identity map before retrieving the property value with fetchRelated. This results in redundant queries on the same table with the same addWhere. For example SELECT tx_foo_domain_model_bar.* FROM tx_foo_domain_model_bar WHERE uid IN (‘1’)

Reviews 1