![]() |
1
12
如果要回滚当前事务,可以使用
请注意,它不会立即回滚事务-它设置“仅回滚”状态,因此事务将在尝试提交时回滚。
TransactionTemplate
,如中所述
10.6 Programmatic transaction management
.
你还可以获得
另见: |
![]() |
2
0
|
![]() |
TheStoryCoder · Yii2:是否在事务外部执行查询? 6 年前 |
![]() |
Ali · 将SQL事务用于单个SQL查询[已关闭] 6 年前 |
![]() |
Marcus Cemes · 选择。。。用于更新在提交后选择旧数据 7 年前 |