Radim Vansa Adding the idea of a "current transaction" is not going to happen.
However, to me, you really want a change in the caching SPI to pass along the Session. Sanne Grinovero what do you think about this?