code: protected HashSet<String> getVulnerabilities(int recordId)
              throws SQLException {
          HashSet<String> cves = new HashSet<String>();
          Connection connection = getConnection();
          try {
              PreparedStatement ps = setObjects(connection, Query.FIND_CVES,
                      recordId);
              ResultSet matches = ps.executeQuery();
              while (matches.next()) {
                  cves.add(matches.getString(1));
              }
              matches.close();
          } finally {
              connection.close();
          }
          return cves;
      }
docs: Returns CVEs that are ascociated with a given record id.
  
  @param recordId
  @return
  @throws SQLException