当前位置:网站首页>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
边栏推荐
- How to use PHP spoole to implement millisecond scheduled tasks
- Read 30 minutes before going to bed every day_ day3_ Files
- Methods of classfile
- PI control of three-phase grid connected inverter - off grid mode
- 自定義Redis連接池
- Customize redis connection pool
- How to choose between efficiency and correctness of these three implementation methods of distributed locks?
- Tinyxml2 reading and modifying files
- 2837xd code generation - stateflow (2)
- Microservice practice | Eureka registration center and cluster construction
猜你喜欢
随机推荐
Read Day5 30 minutes before going to bed every day_ All key values in the map, how to obtain all value values
逆变器simulink模型——处理器在环测试(PIL)
每天睡前30分钟阅读Day5_Map中全部Key值,全部Value值获取方式
Insight into cloud native | microservices and microservice architecture
C language programming problems
CKEditor 4.10.1 上传图片提示“不正确的服务器响应” 问题解决
图像识别-数据标注
QT信号槽总结-connect函数错误用法
个人经历&&博客现状
C语言之二进制与十进制
企业级SaaS CRM实现
Microservice practice | Eureka registration center and cluster construction
Idempotent design of Internet API interface
分布式锁的这三种实现方式,如何在效率和正确性之间选择?
Supplier selection and prequalification of Oracle project management system
Tools used for Yolo object recognition and data generation
TD conducts functional simulation with Modelsim
C语言之最小数
记录一下初次使用Xray的有趣过程
MySQL事务









