0 Replies Latest reply: Jan 8, 2013 7:38 AM by 804825 RSS

    DB transaction rollback when user exception is thrown

    804825
      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.

      Thank you in advance.