private ArrayList<FilmBean> createListOfFilmBeans(ResultSet rs) {
        try {
            if (rs == null || rs.getFetchSize() < 0) {
                return null;
            } else {
                ArrayList<FilmBean> films = new ArrayList<FilmBean>();
                FilmBean film = new FilmBean();
                while (rs.next()) {
                    film = this.createFilmBean(rs);
                    films.add(film);
                }
                return films;
            }
        } catch (SQLException ex) {
            Logger.getLogger(FilmothekModel.class.getName()).log(Level.SEVERE, null, ex);
            return null;
        }
       
    }