Why @Transactional not working in my code?
Clash Royale CLAN TAG #URR8PPP Why @Transactional not working in my code? @Service public class SingleCityService implements ICityService { private static final Logger logger = LoggerFactory.getLogger(SingleCityService.class); @Autowired CityMmtRepo cityMmtRepo; @Autowired MmtCityService mmtCityService; @Autowired RestCityService restCityService; @PostConstruct public void init() { CityServiceFactory.getInstance().registor(EnumCity.SINGLE_CITY, this); } /** * Method to validate if action type is to Create city or Update city * * @param request * @return CityServiceResponse */ @Override public CityServiceResponse serveRequest(CityServiceRequest request) throws ResourceException, InvalidCityCreateException, SQLException { ValidatorFactory.getInstance().getRequestValidator(Validator.SINGLE_CITY_VALIDATOR).validate(request); if (CityActionType.CREATE.toString().equals(request.getEventType().getActionType())) { return createCity(request); } return updateCity...