org.jminor.common.db
Interface DatabaseConnection.Procedure

All Superinterfaces:
DatabaseConnection.Operation
All Known Implementing Classes:
AbstractFunction, AbstractProcedure
Enclosing interface:
DatabaseConnection

public static interface DatabaseConnection.Procedure
extends DatabaseConnection.Operation

A database procedure


Method Summary
 void execute(DatabaseConnection connection, Object... arguments)
          Executes this procedure with the given connection
 
Methods inherited from interface org.jminor.common.db.DatabaseConnection.Operation
getID, getName
 

Method Detail

execute

void execute(DatabaseConnection connection,
             Object... arguments)
             throws DatabaseException
Executes this procedure with the given connection

Parameters:
connection - the db connection to use when executing
arguments - the procedure arguments, if any
Throws:
DatabaseException - in case of an exception during the execution