ALTER TRANSACTION RULE
语法用于修改事务规则
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
支持 LOCAL
、XA
、BASE
transactionManager
支持 Atomikos
、Narayana
和 Bitronix
ALTER TRANSACTION RULE(
DEFAULT="XA", TYPE(NAME="Narayana", PROPERTIES("databaseName"="jbossts", "host"="127.0.0.1"))
);
ALTER
、TRANSACTION
、RULE
、DEFAULT
、TYPE
、NAME
、PROPERTIES