Module io.ebean.api

Interface ExternalTransactionManager


public interface ExternalTransactionManager
Provides awareness of externally managed transactions.
  • Method Details

    • setTransactionManager

      void setTransactionManager(Object transactionManager)
      Set the transaction manager.

      This will change when SPI is published but will do for now.

    • getCurrentTransaction

      Object getCurrentTransaction()
      Return the current transaction or null if there is none.