@Override @Transactional( propagation = Propagation.REQUIRED, readOnly = false, rollbackFor = PosBusinessException.class) public Long add(CityDto cityDto) throws PosBusinessException { try { City city = cityBuilder.buildCityEntity(cityDto); city.setCountry(countryRepository.findOne(cityDto.getCountry_id())); city = cityRepository.save(city); return city.getId(); } catch (BuilderException e) { throw new PosBusinessException("Error Occurred While saving City", e); } }