Interface Database.TransactionCode

Enclosing class:
Database
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 static interface Database.TransactionCode
Backwards-compatible alias used in some places in the codebase.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Execute transactional code using the provided connection.
  • Method Details

    • execute

      void execute(Connection conn) throws SQLException
      Execute transactional code using the provided connection.
      Parameters:
      conn - active JDBC connection
      Throws:
      SQLException - on database errors