public interface DatabaseQueryAction 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 | 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 |
DatabaseQueryAction.DatabaseQueryActionResult
A facade over a JDBC result set that is returned after this action 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 Query Action fires with
unconsumed result set data from the stored procedure call.
|
java.util.List<java.lang.Object> |
getParameters()
Returns the parameters for the SQL query to be executed.
|
java.lang.String |
getQuery()
Returns the SQL query that is used to query a database.
|
void |
setParameters(java.util.List<java.lang.Object> parameters)
Sets the parameters for the SQL query to be executed.
|
void |
setQuery(java.lang.String query)
Sets the SQL query that is used to query 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 Query Action
fires.Action.addFlow(Action, String)
,
EngineHelper.useLastResult(String)
java.util.List<java.lang.Object> getParameters()
java.lang.String getQuery()
void setParameters(java.util.List<java.lang.Object> parameters)
parameters
- The parameters for the SQL query to be executed.void setQuery(java.lang.String query)
query
- The query that is used to query a database.© 2000-2025 Flux Corporation. All rights reserved.