How to interrupt(stop) the transction while doing the process of save(),update() or merge()(i.e beginTransaction---commit())
I have to interrupt(stop) the tranaction when its take longer time. I am using thread local to create new session per request. The process is one request to create the session and commit the transaction. Meanwhile i need to interrupt the transactio...