Package | Description |
---|---|
org.apache.cayenne.tx |
Modifier and Type | Class and Description |
---|---|
class |
BaseTransaction
A Cayenne transaction.
|
class |
CayenneTransaction
Represents a Cayenne-managed local Transaction.
|
class |
ExternalTransaction
Represents a container-managed transaction.
|
Modifier and Type | Method and Description |
---|---|
Transaction |
DefaultTransactionFactory.createTransaction() |
Transaction |
TransactionFactory.createTransaction() |
Transaction |
DefaultTransactionFactory.createTransaction(TransactionDescriptor descriptor) |
Transaction |
TransactionFactory.createTransaction(TransactionDescriptor descriptor) |
static Transaction |
BaseTransaction.getThreadTransaction()
Returns a Transaction associated with the current thread, or null if
there is no such Transaction.
|
Modifier and Type | Method and Description |
---|---|
static void |
BaseTransaction.bindThreadTransaction(Transaction transaction)
Binds a Transaction to the current thread.
|
protected <T> T |
DefaultTransactionManager.BaseTransactionHandler.performInTransaction(Transaction tx,
TransactionalOperation<T> op,
TransactionListener callback) |
void |
TransactionListener.willAddConnection(Transaction tx,
String connectionName,
Connection connection) |
void |
TransactionListener.willCommit(Transaction tx) |
void |
TransactionListener.willRollback(Transaction tx) |
Copyright © 2001–2019 Apache Cayenne. All rights reserved.