DB (Database) type objects model sql files that are stored in SCM. They are used to copy sql files from an SCM to a filesystem on an endpoint where they are executed by JDBC. DB type objects can be sourced only from an SCM. They cannot be created manually. No attributes are required.
...
Attribute Code | Name | Description | Default Value | ||
---|---|---|---|---|---|
| User Property | The property that will be used to set the username used to log into the database. | FDJDBC_USER - Set this value on the Target, or override it on a project. Alternatively, create a new property on the workflow, and then set its value in one of those locations. | ||
| Password Property | The property that will be used to set the password used to log into the database. | FDJDBC_PASSWORD- Set this value on the Target or override it on a project. Alternatively, create a new property on the workflow, and then set its value in one of those locations. | ||
| JDBC URL Property | The property that will be used to set the JDBC URL used to log into the database. | FDJDBC_URL- Set this value on the Target or override it on a project. Alternatively, create a new property on the workflow, and then set its value in one of those locations. | ||
| Retry Count | How many times should the file be retried before marking it as a failure. It may be useful to set it to a larger value if deploying many files together if the selected order may not be correct. |
| ||
| Ignore Failure | If checked, the file and the execution will be marked successful even if it fails to be processed in any way. The failure will be logged, but there will be no other indication. If this is checked any SQL execution failure will be ignored and following Statements in file will continue to be executed. File will be marked as Success on execution results. If this is not checked then any SQL execution failure will mark file as Failed and following Statements in file will not be attempted. |
| ||
| Ignore Compilation Warnings | If checked, the file and the execution will be marked successful even if it encounters a compilation warning. The warning will be logged, but there will be no other indication. |
| ||
| Property Replacement | If checked, property replacement will be run on the file, unless it appears to be a binary file, and then it will be skipped for property replacement. |
| ||
| Target Location | This is the location where the file will be placed. Property replacement will be performed on the value. If blank, the file will be copied into |
| ||
| Run As User | If set, a SQL statement will be executed before the file to switch schema (user). Property replacement will be performed on the value. This is a convenient attribute when many files must switch schema before execution. For example you can use This attribute is only supported for Oracle, PostgreSQL, and SQL Server databases. I.E. If Run As User is set to “TestUser”, then the following would be executed before the file depending on database type:
| N/A | ||
Rollback Source Type |
| Where to retrieve file when initiating a rollback deployment. Project Version, SCM Revision, Backup Repository, and Rollback File SCM Revision and Rollback File options are only available when the project has SCM details configured, and Backup Repository should only be used if the FlexDeploy server and project are configured to take backups. | Project Version
| ||
Rollback File |
| The associated file to deploy which will roll back this file. Only applicable when Rollback Source Type is Rollback File |
|