[TYPO3-mvc] ObjectStorage with large quantities of DB-Objects

Martin Kutschker masi-no at spam-typo3.org
Tue May 25 08:50:08 CEST 2010


Nils Blattner schrieb:
> 
> This would make sense indeed.
> As an alternative there might be a persistAllAndFlushCache() function on
> repositories or something in that direction.

The problem with this are references to the object from outside the repository (identity map). The
object will exists as long as at least one reference exists. What to do with all those objects that
are removed from the identity map? They must be put into some kind of read-only-mode to cope for
dangling references (and marked as stale-copy).

Masi


More information about the TYPO3-project-typo3v4mvc mailing list