在业务代码中,有如下两种情况,比如:throw new RuntimeException("xxxxxxxxxxxx"); 事务回滚throw new Exception("xxxxxxxxxxxx"); 事务没有回滚 1).Spring的AOP即声明式事务管理默认是针对unchecked exceptio
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号