Interface JdbcConnection.Operations

  • Enclosing class:
    JdbcConnection
    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 JdbcConnection.Operations
    Defines multiple JDBC operations.
    • Method Detail

      • apply

        void apply​(Statement statement)
            throws SQLException
        Apply a series of operations against the given JDBC statement.
        Parameters:
        statement - the JDBC statement to use to execute one or more operations
        Throws:
        SQLException - if there is an error connecting to the database or executing the statements