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

- Packages that use Transaction
  Package | Description
  --- | ---
  org.apache.cayenne.access | Contains classes that make up Cayenne ORM stack.
  org.apache.cayenne.tx |

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

    Methods in org.apache.cayenne.access that return Transaction
    Modifier and Type | Method and Description
    --- | ---
    `static Transaction` | Transaction.`getThreadTransaction()` Deprecated.

    Methods in org.apache.cayenne.access with parameters of type Transaction
    Modifier and Type | Method and Description
    --- | ---
    `static void` | Transaction.`bindThreadTransaction(Transaction transaction)` Deprecated.

  - ### 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()`
    `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.`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–2023 Apache Cayenne. All rights reserved.