| Attribute Name | Default Value | Possible Values |
| propagation | Propagation.REQUIRED Propagation.REQUIRED | Propagation.SUPPORTS |
| Propagation.MANDATORY | ||
| Propagation.REQUIRES_NEW | ||
| Propagation.NOT_SUPPORTED | ||
| Propagation.NEVER | ||
| Propagation.NESTED | ||
| isolation | Isolation.DEFAULT (Default isolation level of the underlying resource) | Isolation.DEFAULT |
| Isolation.READ_UNCOMMITTED | ||
| Isolation.READ_COMMITTED | ||
| Isolation.REPEATABLE_READ | ||
| Isolation.SERIALIZABLE | ||
| timeout | TransactionDefinition.TIMEOUT_DEFAULT (Default transaction timeout in seconds of the underlying resource) | An
integer value larger than zero; indicates the number in seconds for transaction timeout |
| readOnly | FALSE | FALSE |
| TRUE | ||
| rollbackFor | Exception
classes for which transaction will be rolled back | N/A |
| rollbackForClassName | Exception
class names for which transaction will be rolled back | N/A |
| noRollbackFor | Exception
classes for which transaction will not be rolled back | N/A |
| noRollbackForClassName | Exception
class names for which transaction will not be rolled back | N/A |
| value | ""(A
qualifier value for the specified transaction) | N/A |
排版排不好,详见excel附件
本文详细介绍了事务管理的关键属性和隔离级别的概念,包括传播、时间限制、读写操作、回滚策略等,以及它们在不同数据库环境中的应用。
9116

被折叠的 条评论
为什么被折叠?



