[TYPO3-mvc] Save a single object instead of "persistAll"?

Andy Grunwald [wmdb] andreas.grunwald at wmdb.de
Tue Jul 17 22:15:55 CEST 2012


Hey,

i`ve build an importer with Extbase.
During a scheduler task i create a object and persistence manager and my 
repositories.
To save, i use "persistAll".

I need to call persistAll a few times, because i got a huge dependency 
through all objects and they need to be saved early.

Is there a way to save only ONE object instead of calling persistAll?
Like in Doctrine ->save() ?
Because this is a huge performance killer and my import runs over hours.
I`d like to speed up the importer.

THX for feedback and ideas.

All the best,
Andy


More information about the TYPO3-project-typo3v4mvc mailing list