Interface TransactionContext


public interface TransactionContext
Provides transactions with access to the context.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Connection
    Returns the raw JDBC-connection for this transaction.
    boolean
     
    void
    Requests that this transaction will be rolled back.
  • Method Details

    • getConnection

      @NotNull @NotNull Connection getConnection()
      Returns the raw JDBC-connection for this transaction.
    • setRollbackOnly

      void setRollbackOnly()
      Requests that this transaction will be rolled back.
    • isRollbackOnly

      boolean isRollbackOnly()