Interface TransactionStatements<T>

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface TransactionStatements<T>
    An interface for declaring the logic, that must be run in a transaction
    • Method Detail

      • statements

        T statements​(Database database,
                     java.sql.Connection connection)
              throws java.lang.Exception
        Throws:
        java.lang.Exception