Another question: can i manually abort transaction from within transaction block? Other than to throw exception?
s
spand
08/15/2018, 6:59 AM
Have you tried
this.rollback()
?
n
nekoinemo
08/15/2018, 12:28 PM
Just tested it. Curious behaviour: it undoes changes, but transaction block continues executing and all operations that require transaction still execute no problem.
nekoinemo
08/15/2018, 12:29 PM
I was thinking something more along the lines of shortcircuiting execution, not just undoing changes.
But thank you, i think between