ALTER TRANSACTION RULE
Description
The ALTER TRANSACTION RULE
syntax is used to alter transaction rule configuration.
Syntax
Grammar Railroad diagram
AlterTransactionRule ::=
'ALTER' 'TRANSACTION' 'RULE' '(' 'DEFAULT' '=' defaultTransactionType ',' 'TYPE' '(' 'NAME' '=' transactionManager ',' propertiesDefinition ')' ')'
propertiesDefinition ::=
'PROPERTIES' '(' key '=' value (',' key '=' value)* ')'
defaultTransactionType ::=
string
transactionManager ::=
string
key ::=
string
value ::=
literal
Supplement
defaultTransactionType
supportLOCAL
,XA
,BASE
transactionManager
supportAtomikos
andNarayana
Example
- Alter transaction rule
ALTER TRANSACTION RULE(
DEFAULT="XA", TYPE(NAME="Narayana", PROPERTIES("databaseName"="jbossts", "host"="127.0.0.1"))
);
Reserved word
ALTER
, TRANSACTION
, RULE
, DEFAULT
, TYPE
, NAME
, PROPERTIES
Related links
当前内容版权归 ShardingSphere 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 ShardingSphere .