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.
Target 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 - |
Inputs
Input Name | Input Code | Required | Description |
---|---|---|---|
User |
| No | The username that will be used to connect with. This input takes precedence over the Target scoped |
Password |
| No | The password for |
SQL Query |
| Yes | The query to execute. |
Show DBMS Output |
| No | Print DBMS Output in the log.  Only supported for Oracle Database. |
Outputs
Output Name | 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 Target.
Endpoint Execution
This operation will randomly execute on one of the endpoints identified during selection.
Special Considerations
The input query for this operation must return exactly one row and one column.
Replacement Properties
See Appendix.
- style