Spring 事务回滚
try{
 insert(user1);
 delete(user3);//抛异常(不会回滚),到catch
}catch(Exception){
 insert(user2);
 throw new RuntimeException("1");//有异常全部回滚
}
try{
 insert(user1);
 delete(user3);//抛异常(不会回滚),到catch
}catch(Exception){
 insert(user2);
 throw new RuntimeException("1");//有异常全部回滚
}
