springboot单元测试不执行数据库 趴不住了快跑 2022-04-29 77 阅读1分钟 在单侧上面加上注解即可: import org.springframework.transaction.annotation.Transactional; @Transactional