当前位置:网站首页>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
边栏推荐
- 2837xd Code Generation - stateflow (4)
- 2837xd code generation - stateflow (3)
- Thinkphp5 how to determine whether a table exists
- 2837xd 代碼生成——StateFlow(4)
- BugkuCTF-web21(详细解题思路及步骤)
- cmake的命令-官方文档
- Bugkuctf-web16 (backup is a good habit)
- C language strawberry
- 2837xd 代码生成——总结篇
- Operation and application of stack and queue
猜你喜欢

C language programming problems

Fragmenttabhost implements the interface of housing loan calculator

Microservice practice | Eureka registration center and cluster construction

Share a blog (water blog)

JDBC review

Creation and jump of activity

一次聊天勾起的回忆

Image recognition - Data Acquisition

三相逆变器离网控制——PR控制

2837xd code generation - stateflow (2)
随机推荐
Typora installation package sharing
Image recognition - data augmentation
Navicat remote connection MySQL reports an error 1045 - access denied for user 'root' @ '222.173.220.236' (using password: yes)
Fragmenttabhost implements the interface of housing loan calculator
互联网API接口幂等设计
Off grid control of three-phase inverter - PR control
Discussion on improving development quality and reducing test bug rate
2837xd code generation - stateflow (1)
2837xd代码生成模块学习(3)——IIC、eCAN、SCI、Watchdog、eCAP模块
Bold prediction: it will become the core player of 5g
Judging right triangle in C language
Record the interesting process of using Xray for the first time
C语言之数据插入
Customize redis connection pool
zk配置中心---Config Toolkit配置与使用
Redis 序列化 GenericJackson2JsonRedisSerializer和Jackson2JsonRedisSerializer的区别
2837xd code generation - Supplement (1)
Creation and jump of activity
每天睡觉前30分钟阅读_day4_Files
Inverter Simulink model -- processor in the loop test (PIL)