## Uses of Interface
org.apache.cayenne.tx.Transaction

- Packages that use Transaction
  Package | Description
  --- | ---
  org.apache.cayenne.tx |

- - ### Uses of Transaction in org.apache.cayenne.tx

    Classes in org.apache.cayenne.tx that implement Transaction
    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.

    Methods in org.apache.cayenne.tx that return 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.

    Methods in org.apache.cayenne.tx with parameters of type 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–2021 Apache Cayenne. All rights reserved.