code: @Override
      public void commit() throws DataCorruptedException, IOException, IllegalStateException
      {
          try {
              this.txContext.finish();
          } catch (final TransactionFailureException tfe1) {
              try {
                  this.txContext.abort();
              } catch (final TransactionFailureException tfe2) {
              }
              throw new IOException("Error trying to commit transaction.", tfe1);
          }
      }
docs: Commits work done.