private Integer updateHotel(Criteria criteria, AbstractDao dao) throws DaoException {
        Integer idDescription = (Integer) criteria.getParam(DAO_ID_DESCRIPTION);
        if (idDescription != null) {
            Criteria beans = new Criteria();
            beans.addParam(DAO_ID_DESCRIPTION, idDescription);
            dao.updateDescription(beans, criteria);
        }
        Integer idHotel = (Integer) criteria.getParam(DAO_ID_HOTEL);
        if (idHotel != null) {
            Criteria beans = new Criteria();
            beans.addParam(DAO_ID_HOTEL, idHotel);
            dao.updateHotel(beans, criteria);
        }
        return idHotel;
    }