338
338
* **SessionExtension.** - This is an easy to use extension
339
339
class for session events. In particular, it provides
340
340
``before_flush()``, ``after_flush()`` and
342
342
recommended over ``MapperExtension.before_XXX`` in many
343
343
cases since within ``before_flush()`` you can modify the
344
344
flush plan of the session freely, something which cannot