TransactionFactory (cayenne-doc: Cayenne Documentation 5.0-M2 API)
Description: declaration: package: org.apache.cayenne.tx, interface: TransactionFactory

# 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