Interface TransactionStrategy

All Known Implementing Classes:
DefaultTransactionStrategy

public interface TransactionStrategy
A transaction strategy that is used to run the JPA operations in a transaction.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Execute the work in transaction.
  • Method Details

    • executeInTransaction

      void executeInTransaction(Runnable runnable)
      Execute the work in transaction.
      Parameters:
      runnable - the work to execute.