Call this method within a withTransaction call to roll back the current transaction after withTransaction returns.
Call this method within a withTransaction call to roll back the current transaction after withTransaction returns.
Run the supplied function within a transaction.
Run the supplied function within a transaction. If the function throws an Exception or the session's rollback() method is called, the transaction is rolled back, otherwise it is commited when the function returns.