[FLOW3-general] Question regarding doctrine integration

Karsten Dambekalns karsten at typo3.org
Sun Oct 23 21:00:52 CEST 2011


On 24.08.11 14:05, Chris Zepernick wrote:
> Jepp,
> 
> at the moment this is the only way I see either,
> question is "Was there a reason that those features are missing" ?

* flush() is called at the end of the request automatically, and you
have persistAll() which does the same (only has a different name that is
more clear + fits the API we have had for ages).

* a full request is always wrapped in a transaction anyway.

As Sebastian said, anything Doctrine-specific can be done by extending
the Doctrine\Repository class giving full access to Doctrine 2 features.
The generic Repository cannot offer that, as it is also the interface to
other persistence backends.

Regards,
Karsten


More information about the FLOW3-general mailing list