- Type Parameters:
C
- the connection typeT
- the procedure argument type
public interface ProcedureType<C,T>
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Executes the given procedure.name()
static <C,
T> ProcedureType<C, T> procedureType
(String name) Creates aProcedureType
with 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 aProcedureType
with the given name and types.- Type Parameters:
C
- the connection typeT
- the procedure argument type- Parameters:
name
- the name- Returns:
- a new
ProcedureType
-