@Override
    public List<Integer> save(List<Hotel> beans, GenericSaveQuery saveGeneric, Connection conn) throws DaoQueryException {
        try {
            return saveGeneric.sendQuery(SAVE_QUERY, conn, Params.fill(beans, (Hotel bean) -> {
                Object[] objects = new Object[5];
                objects[0] = bean.getCity().getIdCity();
                objects[1] = bean.getName();
                objects[2] = bean.getStars();
                objects[3] = bean.getPicture();
                objects[4] = bean.getDescription().getIdDescription();
                return objects;
            }));
        } catch (DaoException ex) {
            throw new DaoQueryException(ERR_HOTEL_SAVE, ex);
        }
    }