Executes a SQL script. This operation parses the SQL script and processes each statement in the database using JDBC. Property replacement is performed on the files before they are parsed.
Please note that the statements in the SQL files must be delimited properly.
|
The SQL Databases supported by the parser are:
No JDBC drivers are included in the plugin, so the path to one is required (FDJDBC_DRIVER_PATH
).
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 - |
Property Name | Property Code | Required | Description |
---|---|---|---|
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 |
Script File |
| Yes | The path to the script to execute. If a relative path is given, the path will be assumed to be in the |
Run Destructive |
| No | This option allows destructive statements to be run. See Special Considerations below. |
Ignore Compilation Warnings | FDJDBC_INP_IGNORE_WARNING | No | If checked, sql compilation warnings will be ignored. Otherwise, they will cause the execution to be marked as failed. |
Show DBMS Output | FDJDBC_INP_SHOW_DBMS_OUT | No | Print DBMS Output in the log. Only supported for Oracle Database. @Since 4.6.0.1 |
Output Name | Required | Description |
---|---|---|
This operation consumes one or more SQL files, and an optional sequence file, from the artifacts repository.
This operation will select all available endpoints associated to the environment/instance.
This operation will randomly execute on one of the endpoint identified during selection.