public class ExternalTransaction extends BaseTransaction
| Modifier and Type | Field and Description |
|---|---|
protected JdbcEventLogger |
logger |
connections, listeners, status, STATUS_ACTIVE, STATUS_COMMITTED, STATUS_COMMITTING, STATUS_MARKED_ROLLEDBACK, STATUS_NO_TRANSACTION, STATUS_ROLLEDBACK, STATUS_ROLLING_BACK| Constructor and Description |
|---|
ExternalTransaction(JdbcEventLogger jdbcEventLogger) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExternal()
Is this transaction managed by external transaction manager
|
protected void |
processCommit() |
protected void |
processRollback() |
addConnection, addListener, begin, bindThreadTransaction, close, commit, connectionAdded, getConnections, getExistingConnection, getOrCreateConnection, getThreadTransaction, isRollbackOnly, rollback, setRollbackOnlyprotected JdbcEventLogger logger
public ExternalTransaction(JdbcEventLogger jdbcEventLogger)
protected void processCommit()
processCommit in class BaseTransactionprotected void processRollback()
processRollback in class BaseTransactionpublic boolean isExternal()
TransactionCopyright © 2001–2023 Apache Cayenne. All rights reserved.