事物的传播特性
@Transactional(readOnly=true,propagation=Propagation.NOT_SUPPORTED)
Spring
事物的传播特性
事物属性 | 事物1 | 事物2 |
Required | 无 事物1 | 事物2 事物1 |
RequiredNew | 无 事物1 | 事物2 事物2 |
Support | 无 事物1 | 无 事物1 |
Mandatory | 无 事物1 | 抛异常 事物1 |
NOSupport | 无 事物1 | 无 无 |
Never | 无 事物1 | 无 抛异常 |