We are using the option to throw exception on users errors.
Sometimes we perform DB test that can be done only after executing the store() function, but if an error occurs after the store we would like to rollback.
In some cases we would like to perform full rollback when exception occurs.
Is there an option to define rollback on exception or to manage DB transaction and decide in code if i want to rollback or commit the transaction?
Currently all store function exectuted before the exception are commited.