[TYPO3-mvc] Changes were applied without calling update()

Dennis Ahrens dennis.ahrens at googlemail.com
Fri Jun 25 14:45:21 CEST 2010


Hi Franz,

Franz Koch wrote:
> yes - that's what persistence is about. You have to use a clone of your 
> object if you manipulate it but don't want the changes to get persisted.
> 
> Calling repository methods is for cases where you either like to add new 
> objects, or worked with a clone and want to replace the original object 
> with it.

Thanks a lot for explanation :)
I wasn't familiar with clone. Works fine and feels nice.

regards
Dennis


More information about the TYPO3-project-typo3v4mvc mailing list