The ALTER TRANSACTION RULE
syntax is used to alter transaction rule configuration.
AlterTransactionRule ::=
'ALTER' 'TRANSACTION' 'RULE' '(' 'DEFAULT' '=' defaultTransactionType ',' 'TYPE' '(' 'NAME' '=' transactionManager ',' propertiesDefinition ')' ')'
propertiesDefinition ::=
'PROPERTIES' '(' key '=' value (',' key '=' value)* ')'
defaultTransactionType ::=
string
transactionManager ::=
string
key ::=
string
value ::=
literal
defaultTransactionType
support LOCAL
, XA
, BASE
transactionManager
support Atomikos
and Narayana
ALTER TRANSACTION RULE(
DEFAULT="XA", TYPE(NAME="Narayana", PROPERTIES("databaseName"="jbossts", "host"="127.0.0.1"))
);
ALTER
, TRANSACTION
, RULE
, DEFAULT
, TYPE
, NAME
, PROPERTIES