- Type Parameters:
C- the connection typeT- the procedure argument type
public interface ProcedureType<C,T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidExecutes the given procedure.name()static <C,T> ProcedureType<C, T> procedureType(String name) Creates aProcedureTypewith the given name and types.
-
Method Details
-
name
String name()- Returns:
- the procedure name
-
execute
Executes the given procedure.- Parameters:
connection- the connection being usedprocedure- the procedure to executeargument- the procedure argument, if any- Throws:
DatabaseException- in case of an exception
-
procedureType
Creates aProcedureTypewith the given name and types.- Type Parameters:
C- the connection typeT- the procedure argument type- Parameters:
name- the name- Returns:
- a new
ProcedureType
-