docs: private JobRequest getJobRequest(int launchId, DbConn cnx)
      {
          Map<String, String> prms = RuntimeParameter.select_map(cnx, "jiprm_select_by_ji", launchId);
          ResultSet rs = cnx.runSelect("history_select_reenqueue_by_id", launchId);
  
          try
          {
              if (!rs.next())
              {
                  throw new JqmInvalidRequestException("There is no past laucnh iwth ID " + launchId);
              }
          }
          catch (SQLException e1)
          {
              throw new JqmClientException("Internal JQM API error", e1);
          }
  
          JobRequest jd = new JobRequest();
          try
          {
              jd.setApplication(rs.getString(1));
              jd.setApplicationName(rs.getString(2));
              jd.setEmail(rs.getString(3));
              jd.setKeyword1(rs.getString(4));
              jd.setKeyword2(rs.getString(5));
              jd.setKeyword3(rs.getString(6));
              jd.setModule(rs.getString(7));
              jd.setParentID(rs.getInt(8));
              jd.setSessionID(rs.getString(9));
              jd.setUser(rs.getString(10));
  
              for (Map.Entry<String, String> p : prms.entrySet())
              {
                  jd.addParameter(p.getKey(), p.getValue());
              }
          }
          catch (SQLException e)
          {
              throw new JqmClientException("Could not extract History data for launch " + launchId, e);
          }
  
          return jd;
      }