Skip to main content
Version: Latest(3.11)

Transactional 事务

1. 结构声明

class Transactional extends BaseNode {
enabled: boolean;
propagation?: 'REQUIRED' | 'REQUIRES_NEW' | 'SUPPORTS' | 'NOT_SUPPORTED' | 'MANDATORY' | 'NEVER';
isolation?: 'DEFAULT' | 'READ_UNCOMMITTED' | 'READ_COMMITTED' | 'REPEATABLE_READ' | 'SERIALIZABLE';
}

2. 节点示例

(1) 示例

AST 如下:

{
"concept": "Transactional",
"enabled": true
}

对应的代码如下:

true