private PodcastModel[] readResult() {
    try
        {
            logger.info("Enter readResult(): "+numberOfResults);
            PodcastModel[] podcastModels = new PodcastModel[numberOfResults];
            for (int i = 0; i < numberOfResults; i = i + 1)
            {
                if (!res.next()) break;
                logger.info("readResult() in loop: "+i);
                PodcastModel podcastModel = new PodcastModel();
                podcastModel.setName(res.getString("name"));
                podcastModel.setID(res.getInt("podID"));
                podcastModel.setLink(res.getString("link"));
                podcastModels[i] = podcastModel;
            }
            close();
            return podcastModels;
        }
        catch(Exception e)
        {
            System.out.println("Error processing results: " + e.toString());
            try
            {
            	close();
            }
            catch(Exception ex)
            {
                logger.fatal(ex.toString());
                logger.trace(ex); 
            }
            PodcastModel[] emptyQuery = new PodcastModel[1];
            emptyQuery[0] = new PodcastModel();
            return emptyQuery;
        }
  }