摘要: 异常现场(背景) 在springboot事物操作开发中,如果A方法调用B方法,A和B方法都在不同的类中,且A和B都加了@Transactional注解,A调用B方法时,将B方法try catch了。 代码: @Service public class BService { @Transactiona 阅读全文
posted @ 2024-05-07 10:51 惊叫唤 阅读(13) 评论(0) 推荐(0) 编辑