It would be great to document the reasons why this is needed so that we can remember the logic later when refactoring. Organizational memory.
Why is this needed? Specifically why won't a solution like a SessionFactoryObserver (which I believe is how you do this now) work?
|