@Transactional private void saveWeatherInfo(LinkedList<WeatherInfo> weatherInfos) { weatherRepository.deleteAll(); for (WeatherInfo weatherInfo : weatherInfos) { weatherRepository.save(weatherInfo); } }