Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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

FDJDBC_URL

Yes

The JDBC URL of the database.

JDBC User

FDJDBC_USER

No

The username that will be used to connect with.

JDBC Password

FDJDBC_PASSWORD

No

The password of the username.

JDBC Driver Path

FDJDBC_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

FDJDBC_INP_USER

No

The username that will be used to connect with. This input takes precedence over the

environment instance

Target scoped FDJDBC_USERproperty. This input is required if the FDJDBC_USERproperty is not specified.

Password

FDJDBC_INP_PASSWORD

No

The password for FDJDBC_INP_USER. This input takes precedence over the

environment instance

Target scoped FDJDBC_PASSWORDproperty. This input is required if the FDJDBC_PASSWORDproperty is not specified.

SQL Query

FDJDBC_INP_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

FDJDBC_SQL_QUERY_OUT

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/instanceTarget.  

Endpoint Execution

This operation will randomly execute on one of the endpoint endpoints identified during selection.

  

Special Considerations

The input query for this operation must return exactly one row and one column.  

Replacement Properties

See Appendix.