[TYPO3-mvc] Persistence object caching

Martin Kutschker masi-no at spam-typo3.org
Fri May 20 18:27:54 CEST 2011


Am 20.05.2011 10:05, schrieb Chetan Thapliyal:
> 
> Long story in short. I encountered this issue while doing database testing using PHPUnit. I was
> restoring the database to an initial state after each test. It was okay as long as I was just
> reading the data. But once objects were modified I was not able to get them with pristine state no
> matter how many times I was dropping & recreating the database or destroying and recreating the
> repository instance.

As the persistent layer is between you and the DB you must restart it as well.

Masi


More information about the TYPO3-project-typo3v4mvc mailing list