2025年3月24日
摘要: spring boot框架可以基于@Transactional 注解的方式实现声明式事务管理。具体实现为在方法开始时创建一个事务,并根据执行情况选择是否回滚事务 用例: public class Transactional { @org.springframework.transaction.ann 阅读全文
posted @ 2025-03-24 01:26 阿良良木翎 阅读(28) 评论(0) 推荐(0)