docs: public synchronized Savepoint setSavepoint(
              String name) throws SQLException {
  
          checkClosed();
  
          if (JDBCDatabaseMetaData.JDBC_MAJOR >= 4 && getAutoCommit()) {
              throw Util.sqlException(ErrorCode.X_3B001);
          }
  
          if (name == null) {
              throw Util.nullArgument();
          }
  
          if ("SYSTEM_SAVEPOINT".equals(name)) {
              throw Util.invalidArgument();
          }
  
          try {
              sessionProxy.savepoint(name);
          } catch (HsqlException e) {
              Util.throwError(e);
          }
  
          return new JDBCSavepoint(name, this);
      }