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 - |
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 |
SQL Query |
| Yes | The query to execute. |
Show DBMS Output | FDJDBC_INP_SHOW_DBMS_OUT | No | Print DBMS Output in the log. Only supported for Oracle Database. |
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