Package | Description |
---|---|
org.apache.cayenne.access |
Contains classes that make up Cayenne ORM stack.
|
org.apache.cayenne.tx |
Modifier and Type | Method and Description |
---|---|
static Transaction |
Transaction.getThreadTransaction()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
Transaction.bindThreadTransaction(Transaction transaction)
Deprecated.
|
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() |
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.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.