I need to write some business logic rigt before flush against all changed entities. One of the solution I’ve tried is IPreUpdateEventListener. But this event listener already have object denormalized to key-value. I need something before denormalization and even before flush.
So the questions is how to get list of changed (diry) entities.
You might look at the Flush event. But what are you trying to accomplish, exactly?