Interface DBOperationParam<RESULT,​PARAM>

  • Type Parameters:
    PARAM - The parameter for the database operation.
    RESULT - The return value.
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    public interface DBOperationParam<RESULT,​PARAM>
    The database function to perform.
    Christopher Mindus
    • Method Detail

      • run

        RESULT run​(java.sql.Connection conn,
                   PARAM param)
            throws java.sql.SQLException
        Runs the function with the specified connection without performing commit.
        conn - The JDBC connection.
        param - The parameter.
        The return property container, or null for none.
        java.sql.SQLException - For SQL errors.