| Package | Description |
|---|---|
| org.apache.cayenne.access |
Contains classes that make up Cayenne ORM stack.
|
| Modifier and Type | Field and Description |
|---|---|
protected TransactionDelegate |
Transaction.delegate |
protected TransactionDelegate |
DataDomain.transactionDelegate |
| Modifier and Type | Method and Description |
|---|---|
TransactionDelegate |
Transaction.getDelegate() |
TransactionDelegate |
DataDomain.getTransactionDelegate() |
| Modifier and Type | Method and Description |
|---|---|
static Transaction |
Transaction.externalTransaction(TransactionDelegate delegate)
Factory method returning a new transaction instance that would NOT propagate
commit/rollback to participating connections.
|
static Transaction |
Transaction.internalTransaction(TransactionDelegate delegate)
Factory method returning a new transaction instance that would propagate
commit/rollback to participating connections.
|
void |
Transaction.setDelegate(TransactionDelegate delegate) |
void |
DataDomain.setTransactionDelegate(TransactionDelegate transactionDelegate)
Initializes TransactionDelegate used by all DataContexts associated with this
DataDomain.
|
Copyright © 2001–2018 Apache Cayenne. All rights reserved.