当前位置:网站首页>XA Transaction SQL Statements
XA Transaction SQL Statements
2022-07-02 09:45:00 【kq1983】
grammar
xid: gtrid [, bqual [, formatID ]]
gtrid is a global transaction identifier
bqual is a branch qualifier
formatID is an unsigned integer
- 1.
- 2.
- 3.
- 4.
- 5.
XA {START|BEGIN} xid [JOIN|RESUME]
XA END xid [SUSPEND [FOR MIGRATE]]
XA PREPARE xid
XA COMMIT xid [ONE PHASE]
XA ROLLBACK xid
XA RECOVER [CONVERT XID]
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
Example
# start rm.start(xid, XAResource.TMNOFLAGS);
XA START 0x673132333435,0x623030303031,0x1
# end rm.end(xid, XAResource.TMSUCCESS);
XA END 0x673132333435,0x623030303031,0x1
# prepare rm.prepare(xid)
XA PREPARE 0x673132333435,0x623030303032,0x1
# commit
XA COMMIT 0x673132333435,0x623030303031,0x1
# rollback
XA ROLLBACK 0x673132333435,0x623030303031,0x1
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
Reference documents
XA Transaction SQL Statements
边栏推荐
- Insight into cloud native | microservices and microservice architecture
- 记录一下初次使用Xray的有趣过程
- QT信号槽总结-connect函数错误用法
- Cmake command - Official Document
- BugkuCTF-web16(备份是个好习惯)
- Demand delineation executive summary
- PI control of three-phase grid connected inverter - off grid mode
- Hystrix implements request consolidation
- 每天睡前30分钟阅读Day5_Map中全部Key值,全部Value值获取方式
- cmake的命令-官方文档
猜你喜欢
上班第一天的报错(AWVS卸载不彻底)
Navicat 远程连接Mysql报错1045 - Access denied for user ‘root‘@‘222.173.220.236‘ (using password: YES)
Vs+qt set application icon
Inverter Simulink model -- processor in the loop test (PIL)
Redis 序列化 GenericJackson2JsonRedisSerializer和Jackson2JsonRedisSerializer的区别
vs+qt 设置应用程序图标
YOLO物体识别,生成数据用到的工具
Navicat remote connection MySQL reports an error 1045 - access denied for user 'root' @ '222.173.220.236' (using password: yes)
Microservice practice | Eureka registration center and cluster construction
Bugkuctf-web21 (detailed problem solving ideas and steps)
随机推荐
保存视频 opencv::VideoWriter
2837xd代码生成模块学习(4)——idle_task、Simulink Coder
自定義Redis連接池
每天睡前30分钟阅读Day6_Day6_Date_Calendar_LocalDate_TimeStamp_LocalTime
2837xd code generation - Supplement (1)
C语言之最小数
What are the differences between TP5 and laravel
idea查看字节码配置
分布式锁的这三种实现方式,如何在效率和正确性之间选择?
2837xd 代码生成——StateFlow(1)
Break the cocoon | one article explains what is the real cloud primordial
tinyxml2 读取和修改文件
Save video opencv:: videowriter
What are the waiting methods of selenium
三相并网逆变器PI控制——离网模式
Attributes of classfile
C语言之二进制与十进制
zk配置中心---Config Toolkit配置与使用
三相逆变器离网控制——PR控制
MySQL default transaction isolation level and row lock