当前位置:网站首页>Transaction method call @transactional
Transaction method call @transactional
2022-07-01 08:04:00 【The fifth brother of the Wang family】
Method A Calling method B
| class | Method A Whether to add @Transactional | Method B Whether to add @Transactional | A The method is abnormal | B The method is abnormal |
| AB Method congener | yes | no | AB Roll back | AB Roll back |
| no | yes | A Don't roll back B Don't roll back | A Don't roll back B Don't roll back | |
| AB Methods different classes | yes | no | AB Roll back | AB Roll back |
| no | yes | A Don't roll back B Don't roll back | A Don't roll back B Roll back |
summary :
A All transactions take effect
AB Alien species ,B take effect
边栏推荐
- Li Kou daily question - Day 32 -1822 Symbol of array element product
- The database is locked. Is there a solution
- Gui Gui programming (XV) - use scale to control font size changes
- 2022.6.30 省赛+蓝桥国赛记录
- Long way to go with technology
- Chinese font Gan: zi2zi
- [getting started] extract non repeating integers
- postgresql源码学习(26)—— Windows vscode远程调试Linux上的postgresql
- php laravel微信支付
- [MySQL learning notes27] stored procedure
猜你喜欢

Introduction to kubernetes resource objects and common commands (II)

Caesar

Vhost kick & call principle

LM08丨网格系列之网格反转(精)

Lm08 mesh series mesh inversion (fine)
![[getting started] enter the integer array and sorting ID, and sort its elements in ascending or descending order](/img/87/07783593dbabcf29700fa207ecda08.png)
[getting started] enter the integer array and sorting ID, and sort its elements in ascending or descending order

Gui Gui programming (XV) - use scale to control font size changes

Soft keyboard height error

图扑软件通过 CMMI5 级认证!| 国际软件领域高权威高等级认证

How to troubleshoot SharePoint online map network drive failure?
随机推荐
2022 test questions and mock examinations for main principals of hazardous chemicals business units
QT -- 1. QT connection database
【力扣10天SQL入门】Day10 控制流
golang中的正则表达式使用注意事项与技巧
SharePoint - how to quickly check whether SharePoint is standard or enterprise edition?
Li Kou daily question - day 31 -202 Happy number
【批处理DOS-CMD-汇总】扩展变量-延迟变量cmd /v:on、cmd /v:off、setlocal enabledelayedexpansion、DisableDelayedExpansion
2022 mobile crane driver test exercises and online simulation test
php laravel微信支付
empirical study and case study
How relational databases work
[untitled]
如何使用layui将数据库中的数据以表格的形式展现出来
Access报表实现小计功能
【mysql学习笔记28】存储函数
How to make the two financial transactions faster
Software testing methods and techniques - overview of basic knowledge
【mysql学习笔记26】视图
Find the nearest n-th power of 2
[getting started] enter the integer array and sorting ID, and sort its elements in ascending or descending order