Transaction Support
Teiid utilizes XA transactions for participating in global transactions and for demarcating its local and command scoped transactions.
Narayana is used by Teiid as its transaction manager.
Narayana is optionally used by Teiid as its transaction manager. In single source, or scenarios utilizing only non-XA sources, then the Spring platform transaction manager may be used.
See this documentation for the advanced features provided by Narayana.
Scope | Description |
---|---|
Command |
Treats the user command as if all source commands are executed within the scope of the same transaction. The AutoCommitTxn execution property controls the behavior of command level transactions. |
Local |
The transaction boundary is local defined by a single client session. |
Global |
Teiid participates in a global transaction as an XA Resource. |
The default transaction isolation level for Teiid is READ_COMMITTED.