Spring 事务传播属性
来源:互联网 发布:dnf端口辅助破解器 编辑:程序博客网 时间:2024/04/24 13:19
Propagation behavior
What it means
PROPAGATION_MANDATORY
Indicates that the method must run within a transaction. If no existing transaction is in progress, an exception will be thrown.
PROPAGATION_NESTED
Indicates that the method should be run within a nested transaction if an existing transaction is in progress. The nested transaction can be committed and rolled back individually from the enclosing transaction. If no enclosing transaction exists, behaves like PROPAGATION_REQUIRED. Vendor support for this propagation behavior is spotty at best. Consult the documentation for your resource manager to determine if nested transactions are supported.
PROPAGATION_NEVER
Indicates that the current method should not run within a transactional context. If there is an existing transaction in progress, an exception will be thrown.
PROPAGATION_NOT_SUPPORTED
Indicates that the method should not run within a transaction.If an existing transaction is in progress, it will be suspended for the duration of the method. If using JTATransactionManager, access to TransactionManager is required.
PROPAGATION_REQUIRED
Indicates that the current method must run within a transaction.If an existing transaction is in progress, the method will run within that transaction. Otherwise, a new transaction will be started.
PROPAGATION_REQUIRES_NEW
Indicates that the current method must run within its own transaction. A new transaction is started and if an existing transaction is in progress, it will be suspended for the duration of the method. If using JTATransactionManager,access to TransactionManager is required.
PROPAGATION_SUPPORTS
Indicates that the current method does not require a transactional context, but may run within a transaction if one is already in progress.
- Spring 事务传播属性
- spring事务传播属性
- spring 事务传播属性
- spring 事务传播属性
- Spring 事务传播属性
- spring事务传播属性
- spring事务属性 事务传播
- spring 事务传播属性解析
- Spring的事务传播属性
- Spring之事务传播属性
- spring事务和传播属性
- Spring的事务传播属性
- Spring的事务传播属性
- spring 默认事务传播属性
- Spring中事务的传播属性详解
- spring事务传播属性与隔离级别
- spring 事务属性中的传播行为?
- Spring中事务的传播属性详解
- ACM算法集5
- Cairngorm 中 AS版本的 Service 中注意的问题
- asp设置cookies过期时间
- Verybd
- 解密微软中间语言MSIL之中间语言概述
- Spring 事务传播属性
- 数学建模常用的十大算法锦集
- sql server中常用的几个数据类型
- qt4:调用外部应用程序
- IT精英简历
- CRM理想关键步骤:完善客户信息分析能力
- XML中的字符串中出现字符'&'查询失败
- qt4:二进制数据的读和写
- DOS下加载TCP协议通信介绍