com.holonplatform.datastore.jdbc.composer

## Interface ConnectionRunnable

- 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 ConnectionRunnable

  Represents an operation to be executed using a Datastore managed JDBC `Connection`.

  Differently from `ConnectionOperation`, the operation execution does not return any result.

  Since:
    5.1.0
  See Also:
    `ConnectionOperation`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(Connection connection)` Execute an operation using a managed JDBC `Connection`.

- - ### Method Detail

    - #### execute

          void execute(Connection connection)
                throws Exception

      Execute an operation using a managed JDBC `Connection`.

      The `Connection` lifecycle should be managed by the connection provider, so the connection should not be closed from whithin the connection operation method.

      Parameters:
        `connection` - The JDBC Connection
      Throws:
        `Exception` - If an error occurred

Copyright © 2019 The Holon Platform. All rights reserved.