code: int xlateRSType(int type) throws SQLException {
  
          SQLWarning w;
          String     msg;
  
          switch (type) {
  
              case JDBCResultSet.TYPE_FORWARD_ONLY :
              case JDBCResultSet.TYPE_SCROLL_INSENSITIVE : {
                  return type;
              }
              case JDBCResultSet.TYPE_SCROLL_SENSITIVE : {
                  msg = "TYPE_SCROLL_SENSITIVE => TYPE_SCROLL_SENSITIVE";
                  w = new SQLWarning(msg, "SOO10",
                                     ErrorCode.JDBC_INVALID_ARGUMENT);
  
                  addWarning(w);
  
                  return JDBCResultSet.TYPE_SCROLL_INSENSITIVE;
              }
              default : {
                  msg = "ResultSet type: " + type;
  
                  throw Util.invalidArgument(msg);
              }
          }
      }
docs: Translates <code>ResultSet</code> type, adding to the warning
  chain if the requested type is downgraded. <p>
  
  Up to and including HSQLDB 1.7.2,  <code>TYPE_FORWARD_ONLY</code> and
  <code>TYPE_SCROLL_INSENSITIVE</code> are passed through. <p>
  
  Starting with 1.7.2, while <code>TYPE_SCROLL_SENSITIVE</code> is
  downgraded to <code>TYPE_SCROLL_INSENSITIVE</code> and an SQLWarning is
  issued. <p>
  
  @param type of <code>ResultSet</code>; one of
  <code>JDBCResultSet.TYPE_XXX</code>
  @return the actual type that will be used
  @throws SQLException if type is not one of the defined values