当前位置:网站首页>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
边栏推荐
- Tinyxml2 reading and modifying files
- Read Day6 30 minutes before going to bed every day_ Day6_ Date_ Calendar_ LocalDate_ TimeStamp_ LocalTime
- 大学生四六级作文模板(自创版,成功跨过六级)
- Save video opencv:: videowriter
- QT qlabel style settings
- kinect dk 获取CV::Mat格式的彩色RGB图像(openpose中使用)
- 2837xd 代码生成——StateFlow(2)
- Read 30 minutes before going to bed every day_ day4_ Files
- C language strawberry
- 三相并网逆变器PI控制——离网模式
猜你喜欢

idea查看字节码配置

Insight into cloud native | microservices and microservice architecture

Activity的创建和跳转

每天睡前30分钟阅读Day6_Day6_Date_Calendar_LocalDate_TimeStamp_LocalTime

Image recognition - data augmentation

Share a blog (water blog)

Fragmenttabhost implements the interface of housing loan calculator

MySQL multi column in operation

2837xd代码生成模块学习(2)——ADC、ePWM模块、Timer0

2837xd Code Generation - Supplement (1)
随机推荐
How to choose between efficiency and correctness of these three implementation methods of distributed locks?
Enterprise level SaaS CRM implementation
C语言之分草莓
Vs+qt set application icon
Tools used for Yolo object recognition and data generation
三相逆变器离网控制——PR控制
一次聊天勾起的回忆
ZK configuration center -- configuration and use of config Toolkit
Navicat 远程连接Mysql报错1045 - Access denied for user ‘root‘@‘222.173.220.236‘ (using password: YES)
Record personal understanding and experience of game console configuration
TD联合Modelsim进行功能仿真
Insight into cloud native | microservices and microservice architecture
Elastic Stack之Beats(Filebeat、Metricbeat)、Kibana、Logstash教程
idea查看字节码配置
Image recognition - data annotation
2837xd代码生成模块学习(3)——IIC、eCAN、SCI、Watchdog、eCAP模块
C语言之判断直角三角形
大学生四六级作文模板(自创版,成功跨过六级)
Read Day5 30 minutes before going to bed every day_ All key values in the map, how to obtain all value values
web安全与防御