Executing Liquibase Scripts
This feature can execute Liquibase scripts without using the Liquibase CLI. The feature is only available via a CLI command; no guided/interactive sequence is available.
The full CLI command is:
--x4_jdbc <JDBC_Connection_String> --x4_jdbc_user <Database-username> --x4_jdbc_password <Database_passwort> --silent --liquibaseChangelogPath=<Changelog_path> --liquibaseChangelogName=<Changelog_name>--dbSchemaName <Name_database_schema> --liquibaseSchemaName <Name_Liquibase_schema>
The following CLI parameters are relevant:
Parameter | Description |
| JDBC connection string |
| Database users for the X4 database connection If the Update Tool is to create the user, that user must be able to create users. In addition, if a tablespace is to be created, the user must be able to create tablespaces. Otherwise, the user must have permission to create tablespaces in the |
| Password for the X4 database connection database user |
| In silent mode, the user interaction for the JDBC update is skipped. All required parameters must be provided in the CLI command. |
| Optional. This parameter can be used as a workaround in some error situations, but we do not recommend using the parameter. |
| Optional. Name of the schema in which the Liquibase management tables ( If the schema is not specified, the default database schema is used to create the Liquibase tables. |
| Optional. Name of the database catalog in which the Liquibase management tables ( The catalog must exist before running the script. If the catalog is not specified, the default catalog is used. |
| Optional. Schema in which the X4 tables are created. The value of this option is available in Liquibase scripts as a Liquibase parameter If the schema does not exist, it is created when |
| The value of this option is available in Liquibase scripts as a Liquibase parameter The catalog must exist before running the script. If the catalog is not specified, the default catalog is used. |
| Optional. The tablespace in which to create the Liquibase management tables ( Note: This parameter is supported for Oracle only. The tablespace must exist before running the script. If the tablespace is not specified, the default tablespace is used. |
| Mandatory. Defines the path in which the Liquibase changelogs are stored. The respective script is selected by the |
| Mandatory. Name of the Liquibase changelog to be executed. Note: The changelog must exist in the path specified with the If you need to run multiple scripts, you can:
|
| Specifies whether to use the path for Liquibase script execution. |