- style
runQuery
Executes a scalar SQL query which returns one row and one column. This operation takes the SQL query as input, processes the statement in the database using JDBC, and returns the value as an output.
Environment/Instance Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
JDBC URL |
| Yes | The JDBC URL of the database. |
JDBC User |
| No | The username that will be used to connect with. |
JDBC Password |
| No | The password of the username. |
JDBC Driver Path |
| Yes | Classpath for locating the JDBC Driver (e.g. for Weblogic - {ORACLE_HOME}/oracle_common/modules/ oracle.jdbc_11.2.0/ojdbc6.jar). |
Project Properties
Property Name | Property Code | Required | Description |
---|---|---|---|
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
User |
| No | The username that will be used to connect with. This input takes precedence over the environment instance scoped |
Password |
| No | The password for |
Null String |
| Yes | The query to execute. |
Outputs
Output Name | Required | Description |
---|---|---|
| The returned value from the query. |
Artifacts
This operation does not produce or consume artifacts.
Endpoint Selection
This operation will select all available endpoints associated to the environment/instance.
Endpoint Execution
This operation will randomly execute on one of the endpoint identified during selection.
Special Considerations
The input query for this operation must return exactly one row and one column.
Replacement Properties
See Appendix.
- style