@Override
    public List<Integer> save(List<DirectionStayHotel> beans, GenericSaveQuery saveGeneric, Connection conn) throws DaoQueryException {
        try {
            return saveGeneric.sendQuery(SAVE_QUERY, conn, Params.fill(beans, (DirectionStayHotel bean) -> {
                Object[] objects = new Object[3];
                objects[0] = bean.getStayNo();
                objects[1] = bean.getDirection().getIdDirection();
                objects[2] = bean.getHotel().getIdHotel();
                return objects;
            }));
        } catch (DaoException ex) {
            throw new DaoQueryException(ERR_DIR_STAY_SAVE, ex);
        }
    }