给方法加上注解
@Test @Transactional @Rollback(value = false) public void test125(){ int jack2 = studentReposity.deleteByName("jack22"); System.out.println(jack2); }
给方法加上注解
@Test @Transactional @Rollback(value = false) public void test125(){ int jack2 = studentReposity.deleteByName("jack22"); System.out.println(jack2); }