/** * ²åÈë²âÊÔ * * @param modelAndView * @return */ @Transactional @RequestMapping("/testinsert") public ModelAndView testinsert(ModelAndView modelAndView) { testService.testInsert("²âÊÔ"); testService.testInsert( "²â1231222222sdfdsfsdfdsfffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffsdfsÊÔ"); modelAndView.setViewName("test/testindex"); return modelAndView; }
/** * ²âÊÔmysqlÁ´½Ó * * @param modelAndView * @return */ @RequestMapping("/testmysqlcontract") public ModelAndView testmysqlcontract(ModelAndView modelAndView) { int count = testService.testCount(); modelAndView.addObject("count", count); modelAndView.setViewName("test/testmysqlcontract"); return modelAndView; }