public interface DatabaseStoredProcedureAction extends DatabaseActionInfo
Flow Context Variable | Field | Java Type | Description |
---|---|---|---|
RESULT | result | boolean | A boolean value indicating whether there are more results available in the underlying JDBC result set. |
RESULT | outParameters | java.util.List<java.lang.Object> | A List representing the OUT parameters from the stored procedure call. |
RESULT | row | java.util.List<java.lang.Object> | A List representing the current row in the result set. |
Modifier and Type | Interface and Description |
---|---|
static class |
DatabaseStoredProcedureAction.DatabaseStoredProcedureActionResult
A facade over OUT parameters and a JDBC result set, which are returned
after an SqlStoredProcedureAction runs.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RESULT_SET_FLOW_CONTEXT_KEY
The key to a flow context variable that may hold an open JDBC result set
from a previous iteration over this action within the same transaction.
|
Modifier and Type | Method and Description |
---|---|
Flow |
addFlow(Action action)
The flow that is followed when this Database Stored Procedure Action fires.
|
java.util.List<java.lang.Object> |
getParameters()
Returns the parameters that are supplied to a stored procedure call.
|
java.util.Map<java.lang.Integer,java.lang.Integer> |
getRegisteredInoutParameters()
Returns positional and type information about this stored procedure's
registered IN-OUT parameters.
|
java.util.Map<java.lang.Integer,java.lang.Integer> |
getRegisteredOutParameters()
Returns positional and type information about this stored procedure's
registered OUT parameters.
|
int |
getRegisteredOutParameterSqlType()
Returns the registered OUT parameter's SQL type, taken from java.sql.Types,
in the common case where there is only one registered OUT parameter and it
is the last parameter in the stored procedure signature.
|
int |
getStoredFunctionResultSqlType()
If this stored procedure is a stored function, returns the stored
function's result SQL type, taken from java.sql.Types.
|
java.lang.String |
getStoredProcedureCall()
Returns the signature of the stored procedure call that is used to invoke a
stored procedure on a database.
|
void |
setParameters(java.util.List<java.lang.Object> parameters)
Sets the parameters that are supplied to a stored procedure call.
|
void |
setRegisteredInoutParameters(java.util.Map<java.lang.Integer,java.lang.Integer> inoutParameters)
Sets positional and type information about this stored procedure's
registered IN-OUT parameters.
|
void |
setRegisteredOutParameters(java.util.Map<java.lang.Integer,java.lang.Integer> outParameters)
Sets positional and type information about this stored procedure's
registered OUT parameters.
|
void |
setRegisteredOutParameterSqlType(int sqlType)
Sets the registered OUT parameter's SQL type, taken from java.sql.Types, in
the common case where there is only one registered OUT parameter and it is
the last parameter in the stored procedure signature.
|
void |
setStoredFunctionResultSqlType(int sqlType)
If this stored procedure is a stored function, sets the stored function's
result SQL type, taken from java.sql.Types.
|
void |
setStoredProcedureCall(java.lang.String storedProcedureCall)
Sets the signature of the stored procedure call that is used to invoke a
stored procedure on a database.
|
getDataSource, getDataSourceInitialContextFactory, getDataSourceInitialContextPassword, getDataSourceInitialContextProviderUrl, getDataSourceInitialContextUsername, getDataSourcePassword, getDataSourceUsername, getJdbcDriver, getJdbcPassword, getJdbcUrl, getJdbcUsername, isBuiltinDatabaseConnectionUsed, setBuiltinDatabaseConnectionUsed, setDataSource, setDataSourceInitialContextFactory, setDataSourceInitialContextPassword, setDataSourceInitialContextProviderUrl, setDataSourceInitialContextUsername, setDataSourcePassword, setDataSourceUsername, setJdbcDriver, setJdbcPassword, setJdbcUrl, setJdbcUsername
addFlow, addSignalFlow, clone, execute, getDescription, getFlows, getHiddenVariableNames, getJoinExpression, getName, getPostscript, getPostscriptLanguage, getPrescript, getPrescriptLanguage, getResultInfo, getSignalsToMonitor, getTimeoutBusinessInterval, getTimeoutBusinessIntervalNamespace, getTimeoutExpression, getVariableManager, isEndOfRun, isJoinPoint, isSkippable, isStartAction, isStartOfRun, isTransactionBreak, removeFlow, reset, setDescription, setElseFlow, setEndOfRun, setErrorFlow, setErrorFlowWithoutRollback, setErrorFlowWithRollback, setJoinExpression, setJoinPoint, setName, setPostscript, setPostscriptLanguage, setPrescript, setPrescriptLanguage, setSignalsToMonitor, setSkippable, setStartAction, setStartOfRun, setTimeoutBusinessInterval, setTimeoutBusinessIntervalNamespace, setTimeoutExpression, setTimeoutFlow, setTransactionBreak, verify, verifyOnClient
getRuntimeDataMap, setRuntimeDataMap
static final java.lang.String RESULT_SET_FLOW_CONTEXT_KEY
Flow addFlow(Action action)
addFlow
in interface Action
action
- The flow that is followed when this Database Stored Procedure
Action fires.DatabaseStoredProcedureAction.DatabaseStoredProcedureActionResult
,
Action.addFlow(Action, String)
,
EngineHelper.useLastResult(String)
java.util.List<java.lang.Object> getParameters()
java.util.Map<java.lang.Integer,java.lang.Integer> getRegisteredInoutParameters()
java.util.Map<java.lang.Integer,java.lang.Integer> getRegisteredOutParameters()
int getRegisteredOutParameterSqlType()
int getStoredFunctionResultSqlType()
java.lang.String getStoredProcedureCall()
void setRegisteredInoutParameters(java.util.Map<java.lang.Integer,java.lang.Integer> inoutParameters)
inoutParameters
- Positional and type information about this stored
procedure's registered IN-OUT parameters. A null map
is treated the same as an empty map.void setRegisteredOutParameters(java.util.Map<java.lang.Integer,java.lang.Integer> outParameters)
outParameters
- Positional and type information about this stored
procedure's registered OUT parameters. A null map is
treated the same as an empty map.void setRegisteredOutParameterSqlType(int sqlType)
sqlType
- The SQL type, taken from java.sql.Types, for the registered
OUT parameter.void setParameters(java.util.List<java.lang.Object> parameters)
parameters
- The parameters that are supplied to a stored procedure
call.void setStoredFunctionResultSqlType(int sqlType)
sqlType
- The SQL type, taken from java.sql.Types, if this stored
procedure is a stored function.void setStoredProcedureCall(java.lang.String storedProcedureCall)
storedProcedureCall
- The signature of the stored procedure call that
is used to invoke a stored procedure on a
database.© 2000-2025 Flux Corporation. All rights reserved.