docs: @Override
      public synchronized void rollback(boolean chain) {
  
          //        tempActionHistory.add("rollback " + actionTimestamp);
          if (isClosed) {
              return;
          }
  
          if (!isTransaction) {
              isReadOnly    = isReadOnlyDefault;
              isolationMode = isolationModeDefault;
  
              return;
          }
  
          try {
              database.logger.writeToLog(this, Tokens.T_ROLLBACK);
          } catch (HsqlException e) {}
  
          database.txManager.rollback(this);
          endTransaction(false);
      }