当前位置:网站首页>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
边栏推荐
- 每天睡前30分钟阅读Day5_Map中全部Key值,全部Value值获取方式
- Ckeditor 4.10.1 upload pictures to prompt "incorrect server response" problem solution
- 每天睡前30分钟阅读Day6_Day6_Date_Calendar_LocalDate_TimeStamp_LocalTime
- 2837xd 代碼生成——StateFlow(4)
- Alibaba / popular JSON parsing open source project fastjson2
- MySQL default transaction isolation level and row lock
- Image recognition - data annotation
- Data insertion in C language
- cmake的命令-官方文档
- 2837xd code generation - Supplement (3)
猜你喜欢

每天睡觉前30分钟阅读_day4_Files

2837xd代码生成模块学习(4)——idle_task、Simulink Coder

三相并网逆变器PI控制——离网模式

ZK configuration center -- configuration and use of config Toolkit

Mysql 多列IN操作

2837xd code generation - stateflow (2)

PI control of grid connected inverter (grid connected mode)

YOLO物体识别,生成数据用到的工具

Navicat remote connection MySQL reports an error 1045 - access denied for user 'root' @ '222.173.220.236' (using password: yes)

Supplier selection and prequalification of Oracle project management system
随机推荐
Image recognition - data annotation
在SQL注入中,为什么union联合查询,id必须等于0
保存视频 opencv::VideoWriter
Supplier selection and prequalification of Oracle project management system
Matlab代码生成之SIL/PIL测试
Read Day6 30 minutes before going to bed every day_ Day6_ Date_ Calendar_ LocalDate_ TimeStamp_ LocalTime
FragmentTabHost实现房贷计算器界面
QT signal slot summary -connect function incorrect usage
Binary and decimal system of C language
Read 30 minutes before going to bed every day_ day4_ Files
每天睡觉前30分钟阅读_day3_Files
自定義Redis連接池
Tools used for Yolo object recognition and data generation
int与string、int与QString互转
Vs+qt set application icon
web安全与防御
TD conducts functional simulation with Modelsim
每天睡觉前30分钟阅读_day4_Files
Save video opencv:: videowriter
Learn combinelatest through a practical example