1、@Transactional默认是RuntimeException 接口中异常(运行时异常)被捕获而没有被抛出。 2、@Transactional(rollbackFor = Exception.class) 指定异常的时候做事物处理