在单元测试中 Transaction注解会对数据库的更新(insert update delete)进行回滚 ,以保证数据不污染
@Transaction 单元测试回滚
猜你喜欢
转载自www.cnblogs.com/psyco/p/10548520.html
今日推荐
周排行