当前位置:网站首页>事务方法调用@Transactional
事务方法调用@Transactional
2022-07-01 07:58:00 【王家五哥】
方法A调用方法B
| 类 | 方法A是否加@Transactional | 方法B是否加@Transactional | A方法异常 | B方法异常 |
| AB方法同类 | 是 | 否 | AB回滚 | AB回滚 |
| 否 | 是 | A不回滚 B不回滚 | A不回滚 B不回滚 | |
| AB方法不同类 | 是 | 否 | AB回滚 | AB回滚 |
| 否 | 是 | A不回滚 B不回滚 | A不回滚 B回滚 |
总结:
A有事务都生效
AB异类,B生效
边栏推荐
- The database is locked. Is there a solution
- She is the "HR of others" | ones character
- [skill] create Bat quick open web page
- Latex table
- Php laraver Wechat payment
- [software] phantomjs screenshot
- Chinese font Gan: zi2zi
- Saving db4i depth camera pictures with MATLAB
- Principle and process of embossing
- [getting started] extract non repeating integers
猜你喜欢

2022 operation of refrigeration and air conditioning equipment operation of national question bank simulated examination platform

【批处理DOS-CMD-汇总】扩展变量-延迟变量cmd /v:on、cmd /v:off、setlocal enabledelayedexpansion、DisableDelayedExpansion

Lm08 mesh series mesh inversion (fine)

base64

如何使用layui将数据库中的数据以表格的形式展现出来

Latex table

Caesar

Instead of houses, another kind of capital in China is rising

Gdip - hatchBrush图案表

图扑软件通过 CMMI5 级认证!| 国际软件领域高权威高等级认证
随机推荐
【mysql学习笔记25】sql语句优化
[batch dos-cmd command - summary and summary] - Common operators in the CMD window (<, < <, & <,>, > >, & >, & >, & &, ||, (),;, @)
Deep learning systematic learning
Aardio - 阴影渐变文字
Erreur de hauteur du clavier souple
[MySQL learning notes27] stored procedure
LM08丨网格系列之网格反转(精)
[force deduction 10 days SQL introduction] Day9 control flow
IMDB practice of emotion classification (simplernn, LSTM, Gru)
[skill] create Bat quick open web page
The H5 page has set the font thickness style, but the wechat access style in Huawei mobile phone doesn't take effect?
软键盘高度报错
The database is locked. Is there a solution
STM32 uses esp01s to go to the cloud, mqtt FX debugging
web254
力扣每日一题-第31天-1502.判断能否形成等差数列
She is the "HR of others" | ones character
良心安利万向轮 SolidWorks模型素材网站
Conscience Amway universal wheel SolidWorks model material website
TCP/UDP 通信问题整理