docs: public void validateSql(String sql, CancellationSignal cancellationSignal) {
          getThreadSession().prepare(sql,
                  getThreadDefaultConnectionFlags(/* readOnly =*/ true), cancellationSignal, null);
      }