spring事务默认运行时异常回滚,RuntimeException

spring事务默认运行时异常回滚,RuntimeException

配置时添加异常回滚 rollback-for="Throwable" 



expression="execution(* com.dctrain.service..*.*(..))" />
pointcut-ref="transactionPointcut" />






propagation="NOT_SUPPORTED" />

你可能感兴趣的:(spring事务默认运行时异常回滚,RuntimeException)