java.lang.Object
org.seasar.doma.jdbc.command.ModuleCommand<ProcedureQuery,Void>
org.seasar.doma.jdbc.command.ProcedureCommand
A command that executes a stored procedure.
This command doesn't return any result as procedures typically perform operations without returning values directly. Output parameters can be accessed through the query object.
-
Field Summary
Fields inherited from class org.seasar.doma.jdbc.command.ModuleCommand
query, sql -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected VoidexecuteInternal(CallableStatement callableStatement) Executes the stored procedure.Methods inherited from class org.seasar.doma.jdbc.command.ModuleCommand
bindParameters, execute, fetchParameters, getQuery, log, setupOptions
-
Constructor Details
-
ProcedureCommand
Creates a new instance.- Parameters:
query- the query to execute
-
-
Method Details
-
executeInternal
Executes the stored procedure.- Specified by:
executeInternalin classModuleCommand<ProcedureQuery,Void> - Parameters:
callableStatement- the statement to execute- Returns:
- always null as procedures don't return values directly
- Throws:
SQLException- if a database access error occurs
-