> @Martin Pengelly-Phillips: I am interested how are you using the session. Are you creating a new session for each query / commit?
No, we don't create a new session for each query or commit, as that would likely be redundant and slow. However, we often have a session (or two) in background threads in order to allow a main UI thread to continue unblocked. We also often run multiple sessions in background threads for event processing in order to avoid event deadlock.