Versions Compared

Key

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

Executes a group of sql files and copies "Other" files to specified destinations from a package created by the partialJdbcBuild operation. See the appendix for information about the project file attributes.

Please note that the statements in the SQL files must be delimited properly.

...

No JDBC drivers are included in the plugin, so the path to one is required (FDJDBC_DRIVER_PATH).  

Environment/Instance Properties

Property Name

Property Code

Required

Description

JDBC URL

FDJDBC_URL

Yes

The JDBC URL of the database.

Include Page
Using wallet with oracle database
Using wallet with oracle 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

Ignore Failure DefaultFDJDBC_IGNORE_FAILURE_DEFAULTNoWhen populating or evaluating files, set the Ignore SQL Compilation Errors attribute to true for files with these extensions (e.g. .tbl,.idx). This property sets the default attribute value for populated project files, and does not impact the deployment behavior of existing project files (unless explicitly re-evaluated to pick up the default).
FDJDBC_IGNORE_COM_ERR_EXT_DEFNo

When populating or evaluating files, set Ignore Failure

to this.

to true for files with these extensions (.pks, .pkb). This property sets the default attribute value for populated project files, and does not impact the deployment behavior of existing project files (unless explicitly re-evaluated to pick up the default).

For Oracle database, plugin will print errors from USER_ERRORS or DBA_ERRORS for the object being deployed. (@since 5.1.0.1). This support was modified slightly in 5.1.0.3 to read errors from USER_ERRORS first and then read from DBA_ERRORS if nothing found, previously it read from one or the other depending on if schema is coded in SQL statement. 

Property Replacement DefaultFDJDBC_PROPERTY_REPLACEMENT_DEFAULTNoWhen populating or evaluating files, default Property Replacement to this. This property sets the default attribute value for populated project files, and does not impact the deployment behavior of existing project files (unless explicitly re-evaluated to pick up the default).
SQL Root Target FolderFDJDBC_SQL_ROOT_TARGET_FOLDERNoThe path to store the delivered Sql files. Sql files will be run from here. Leave blank to run them from the FD_TEMP_DIR.
Other Root Target FolderFDJDBC_OTHER_ROOT_TARGET_FOLDERNoThe path to store the delivered Other files. Leave blank to store them in the FD_TEMP_DIR.
Retry Count DefaultFDJDBC_RETRY_COUNT_DEFAULTNoWhen populating or evaluating files, default the Retry Count to
this.
the specified value (0-5). This property sets the default attribute value for populated project files, and does not impact the deployment behavior of existing project files (unless explicitly re-evaluated to pick up the default).

SQL Extension Order

FDJDBC_SQL_EXTENSIONS

No

The order of sql extensions that you want to use when populating and sorting files. Files should be sorted as needed

before

at or before build time.

Defaults to "seq,tbl,idx,typ,tps,tpb,sql,pkh,plb,pks,pkb,pls,pck,fnc,trg,spc,bdy,prc"

Project File IncludesFD_PARTIAL_FILE_INCLUDESNoControls files included in Project Files during populate. Enter expressions separated by ##. Leave empty to select all files. Begin or end the expression with * for simple wildcards. Otherwise, regex

is used
.
(e.g. /java/*##*.java##*person*##/java/.*[tT]est.*\.java).  
Project File ExcludesFD_PARTIAL_FILE_EXCLUDESNoControls files excluded from Project Files during populate. Enter expressions separated by ##. Leave empty to select all files. Begin or end the expression with * for simple wildcards. Otherwise,

regex is used
.
(e.g. /java/*##*.java##*person*##/java/.*[tT]est.*\.java)

...

.

Inputs

Input Name

Input Code

Required

Description

User
Run DestructiveFDJDBC_INP_RUN_
USER
DESTRUCTIVE

No

The username that will be used to connect with. This input takes precedence over the environment instance scoped FDJDBC_USER property. This input is required if the FDJDBC_USER property is not specified.

Password

This option allows destructive statements to be run. See Special Considerations below.

Show DBMS OutputFDJDBC_INP_SHOW_DBMS_
PASSWORD
OUTNo

The password for FDJDBC_INP_USER. This input takes precedence over the environment instance scoped FDJDBC_PASSWORD property. This input is required if the FDJDBC_PASSWORD property is not specified.

Script File

No Print DBMS Output in the log. Only supported for Oracle Database.

@Since 4.6.0.4

Show SQLFDJDBC_INP_
FILE
PRINT_
NAME
SQL

Yes

The path to the script to execute. If a relative path is given, the path will be assumed to be in the FD_ARTIFACTS_DIR.

Run Destructive

FDJDBC_INP_RUN_DESTRUCTIVE

No

This option allows destructive statements to be run. See Special Considerations below.

...

No

Print SQL statement in log.

@Since 4.6.0.4

Outputs

Output Name

Required

Description

...




Artifacts

This operation consumes one or more SQL files, and an optional sequence file, from the artifacts repository.

  

packages of files created by the partialJdbcBuild operation.

Endpoint Selection

This operation will select all available endpoints associated to the environment/instance.  delegates the selection to the workflow developer to determine.

Endpoint Execution

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

Special Considerations

...

See below for information about the project file attributes.

Supported Object Types

Include Page
Appendix-Partial Deploy JDBC Object TypesAppendix-
Partial Deploy JDBC Object Types