CityService { @Transactional(readOnly = false) public void insert(City city){ cityDao.insert(city); }  City getCity(int id); @Transactional(readOnly = false) void insert(City city); @Transactional(readOnly = false) void transation();  }
@Test public void testInsert() { City city=new City("shanghai","SH"); cityService.insert(city); }