Interface TransactionManager

All Known Subinterfaces:
ContainerTransactionManager

public interface TransactionManager
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if there is an active transaction associated with the current thread
    void
    If the current thread is associated with an active transaction it is set in rollback only mode
  • Method Details

    • isActive

      boolean isActive()
      Checks if there is an active transaction associated with the current thread
      Returns:
      true if there is an active transaction; false otherwise
    • setRollbackOnly

      void setRollbackOnly()
      If the current thread is associated with an active transaction it is set in rollback only mode