学习记录 - Spring事务管理接口介绍

spring事务管理高层抽象主要接口包括三个接口:

 1、PlatfromTransactionManager 事务管理器

 2、TransactionDefinition 事务定义信息(传播、隔离、超时,只读)

 3、TransactionStatus 事务具体运行状态


TransactionDefinition定义事务具体信息,PlatfromTransactionManager 管理事务,在管理事务的过程中,事务会产生相应的状态,TransactionStatus 会发生变化


用SSM框架的话 只用DataSourceTransactionManager接口

学习记录 - Spring事务管理接口介绍_第1张图片


你可能感兴趣的:(Spring)