Interface DatabaseProcedure<C,T>

Type Parameters:
C - the connection type required by this procedure
T - the procedure argument type

public interface DatabaseProcedure<C,T>
A database procedure
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(C connection, T argument)
    Executes this procedure using the given connection
  • Method Details

    • execute

      void execute(C connection, T argument) throws DatabaseException
      Executes this procedure using the given connection
      Parameters:
      connection - the connection to use
      argument - the procedure argument, if any
      Throws:
      DatabaseException - in case of an exception during the execution