Package org.apache.cayenne.tx

# Interface TransactionFactory

All Known Implementing Classes:
  `DefaultTransactionFactory`

public interface TransactionFactory

Since:
  4.0

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Transaction`
  `createTransaction()`
  `Transaction`
  `createTransaction(TransactionDescriptor descriptor)`

- ## Method Details

  - ### createTransaction

    Transaction createTransaction()

  - ### createTransaction

    Transaction createTransaction(TransactionDescriptor descriptor)
    Parameters:
      `descriptor` - with required transaction properties
    Returns:
      new transaction
    Since:
      4.1