[TYPO3-mvc] extbase query executes updates on calling find methods
Alex Bailey
alex at lastmancoding.com
Wed Nov 24 12:13:43 CET 2010
Yep thats what I thought but heres the critical part:
my customer has a server environment where the typo3 Installation isn't
allowed to write any update querys to the database. It's a server
cluster with 1 Masterserver (Backend) and all the frontend server just
select the content. Is there a way to stop those value objects from
getting persisted?
I'll check out the extbase core if I can find something.
On 2010-11-24 11:27:00 +0100, Franz Koch said:
> Hey,
>
>> I'm experiencing a weird problem with one of my extbase extensions.
>> Whenever I call a extbase query method like findAll findBy*** etc.
>> I see updates happening in the mysql query log.
>> Is there something I'm missing is the property mapper executing some
>> updates?
>>
>> The model which I fetch has several string propertys and a ObjectStorage
>> with some child objects. Whenever I fetch this object I see mysql update
>> queries happening on the child objects.
>>
>> I'm grateful for any help or advice,
>
> most likely valueObjects get persisted on those UPDATE calls. Those
> somehow always get persisted.
More information about the TYPO3-project-typo3v4mvc
mailing list